@@ -192,7 +192,7 @@ ExecGroup = struct(
192192)
193193
194194def _ToolchainType_typedef ():
195- """Builder for {obj}`config_common.toolchain_type() `
195+ """Builder for {obj}`config_common.toolchain_type`
196196
197197 :::{include} /_includes/field_kwargs_doc.md
198198 :::
@@ -393,7 +393,7 @@ def _RuleCfg_update_inputs(self, *others):
393393
394394 Args:
395395 self: implicitly added
396- *others: {type}`collection [Label]` collection of labels to add to
396+ *others: {type}`list [Label]` collection of labels to add to
397397 inputs. Only values not already present are added. Note that a
398398 `Label`, not `str`, should be passed to ensure different apparent
399399 labels can be properly de-duplicated.
@@ -405,7 +405,7 @@ def _RuleCfg_update_outputs(self, *others):
405405
406406 Args:
407407 self: implicitly added
408- *others: {type}`collection [Label]` collection of labels to add to
408+ *others: {type}`list [Label]` collection of labels to add to
409409 outputs. Only values not already present are added. Note that a
410410 `Label`, not `str`, should be passed to ensure different apparent
411411 labels can be properly de-duplicated.
@@ -680,6 +680,17 @@ def _AttrsDict_build(self):
680680 attrs [k ] = v .build () if _is_builder (v ) else v
681681 return attrs
682682
683+ def _AttributeBuilder_typedef ():
684+ """An abstract base typedef for builder for a Bazel {obj}`Attribute`
685+
686+ Instances of this are a builder for a particular `Attribute` type,
687+ e.g. `attr.label`, `attr.string`, etc.
688+ """
689+
690+ AttributeBuilder = struct (
691+ TYPEDEF = _AttributeBuilder_typedef ,
692+ )
693+
683694# buildifier: disable=name-conventions
684695AttrsDict = struct (
685696 TYPEDEF = _AttrsDict_typedef ,
0 commit comments