def METHOD_NAME(self) -> None:
    """
    Enable the interface needed to edit this color space's allocation
    vars for the current allocation type.
    """
    allocation = self.allocation_combo.member()
    for i in range(2):
        self.allocation_vars_edit.value_edits[i].setEnabled(
            allocation != ocio.ALLOCATION_UNKNOWN
        )
    self.allocation_vars_edit.value_edits[2].setEnabled(
        allocation == ocio.ALLOCATION_LG2
    )