docs(core): nit (#36685)

This commit is contained in:
Mason Daugherty
2026-04-12 12:56:02 -05:00
committed by GitHub
parent 22f78afb0a
commit cfb16f634f

View File

@@ -558,12 +558,16 @@ class ConfigurableField(NamedTuple):
id: str id: str
"""The unique identifier of the field.""" """The unique identifier of the field."""
name: str | None = None name: str | None = None
"""The name of the field. """ """The name of the field. """
description: str | None = None description: str | None = None
"""The description of the field. """ """The description of the field. """
annotation: Any | None = None annotation: Any | None = None
"""The annotation of the field. """ """The annotation of the field. """
is_shared: bool = False is_shared: bool = False
"""Whether the field is shared.""" """Whether the field is shared."""
@@ -577,14 +581,19 @@ class ConfigurableFieldSingleOption(NamedTuple):
id: str id: str
"""The unique identifier of the field.""" """The unique identifier of the field."""
options: Mapping[str, Any] options: Mapping[str, Any]
"""The options for the field.""" """The options for the field."""
default: str default: str
"""The default value for the field.""" """The default value for the field."""
name: str | None = None name: str | None = None
"""The name of the field. """ """The name of the field. """
description: str | None = None description: str | None = None
"""The description of the field. """ """The description of the field. """
is_shared: bool = False is_shared: bool = False
"""Whether the field is shared.""" """Whether the field is shared."""
@@ -598,14 +607,19 @@ class ConfigurableFieldMultiOption(NamedTuple):
id: str id: str
"""The unique identifier of the field.""" """The unique identifier of the field."""
options: Mapping[str, Any] options: Mapping[str, Any]
"""The options for the field.""" """The options for the field."""
default: Sequence[str] default: Sequence[str]
"""The default values for the field.""" """The default values for the field."""
name: str | None = None name: str | None = None
"""The name of the field. """ """The name of the field. """
description: str | None = None description: str | None = None
"""The description of the field. """ """The description of the field. """
is_shared: bool = False is_shared: bool = False
"""Whether the field is shared.""" """Whether the field is shared."""
@@ -624,16 +638,22 @@ class ConfigurableFieldSpec(NamedTuple):
id: str id: str
"""The unique identifier of the field.""" """The unique identifier of the field."""
annotation: Any annotation: Any
"""The annotation of the field.""" """The annotation of the field."""
name: str | None = None name: str | None = None
"""The name of the field. """ """The name of the field. """
description: str | None = None description: str | None = None
"""The description of the field. """ """The description of the field. """
default: Any = None default: Any = None
"""The default value for the field. """ """The default value for the field. """
is_shared: bool = False is_shared: bool = False
"""Whether the field is shared.""" """Whether the field is shared."""
dependencies: list[str] | None = None dependencies: list[str] | None = None
"""The dependencies of the field. """ """The dependencies of the field. """