Skip to main content

SelectorEntry.boolean_value

SelectorEntry.boolean_value: None | bool

SelectorEntry.fileset_list_value

SelectorEntry.fileset_list_value: list[fileset_entry]

SelectorEntry.int_list_value

SelectorEntry.int_list_value: list[int]

SelectorEntry.int_value

SelectorEntry.int_value: None | int
Exactly one of the following fields (except for glob_criteria) must be populated - note that the BOOLEAN and TRISTATE caveat in Attribute’s comment does not apply here. The type field in the SelectorList containing this entry indicates which of these fields is populated, in accordance with the comments on Discriminator enum values above. (To be explicit: BOOLEAN populates the boolean_value field and TRISTATE populates the tristate_value field.)

SelectorEntry.is_default_value

SelectorEntry.is_default_value: None | bool
True if the entry’s value is the default value for the type as a result of the condition value being specified as None (ie: {“//condition”: None}).

SelectorEntry.label

SelectorEntry.label: None | str
The key of the selector entry. At this time, this is the label of a config_setting rule, or the pseudo-label “//conditions:default”.

SelectorEntry.label_dict_unary_value

SelectorEntry.label_dict_unary_value: list[label_dict_unary_entry]

SelectorEntry.label_keyed_string_dict_value

SelectorEntry.label_keyed_string_dict_value: list[label_keyed_string_dict_entry]

SelectorEntry.label_list_dict_value

SelectorEntry.label_list_dict_value: list[label_list_dict_entry]

SelectorEntry.license

SelectorEntry.license: None | license

SelectorEntry.string_dict_value

SelectorEntry.string_dict_value: list[string_dict_entry]

SelectorEntry.string_list_dict_value

SelectorEntry.string_list_dict_value: list[string_list_dict_entry]

SelectorEntry.string_list_value

SelectorEntry.string_list_value: list[str]

SelectorEntry.string_value

SelectorEntry.string_value: None | str

SelectorEntry.tristate_value

SelectorEntry.tristate_value: None | int