//python/api:attr_builders.bzl
Public, attribute building APIs for Python rules.
- attrb.Bool(**kwargs)
Creates a builder for
attr.bool.
- attrb.IntList(**kwargs)
Creates a builder for
attr.int_list.- Args:
kwargs– Same asattr.int_list.
- Returns:
- attrb.Label(**kwargs)
Creates a builder for
attr.label.
- attrb.LabelKeyedStringDict(**kwargs)
Creates a builder for
attr.label_keyed_string_dict.- Args:
kwargs– Same asattr.label_keyed_string_dict.
- Returns:
- attrb.LabelList(**kwargs)
Creates a builder for
attr.label_list.- Args:
kwargs– Same asattr.label_list.
- Returns:
- attrb.Output(**kwargs)
Creates a builder for
attr.output.- Args:
kwargs– Same asattr.output.
- Returns:
- attrb.OutputList(**kwargs)
Creates a builder for
attr.output_list.- Args:
kwargs– Same asattr.output_list.
- Returns:
- attrb.String(**kwargs)
Creates a builder for
attr.string.- Args:
kwargs– Same asattr.string.
- Returns:
- attrb.StringDict(**kwargs)
Creates a builder for
attr.string_dict.- Args:
kwargs– The same args as forattr.string_dict.
- Returns:
- attrb.StringKeyedLabelDict(**kwargs)
Creates a builder for
attr.string_keyed_label_dict.- Args:
kwargs– Same asattr.string_keyed_label_dict.
- Returns:
- attrb.StringList(**kwargs)
Creates a builder for
attr.string_list.- Args:
kwargs– Same asattr.string_list.
- Returns:
- attrb.StringListDict(**kwargs)
Creates a builder for
attr.string_list_dict.- Args:
kwargs– Same asattr.string_list_dict.
- Returns: