Liman

ServiceAccount

ServiceAccount provides authentication and authorization context for node execution

Functions

funcfrom_dictfrom_dict(cls, /, data, registry, *, yaml_path=None, strict=False, **kwargs) -> Self
paramcls
paramdatadict[str, Any]
paramregistryRegistry
paramyaml_pathstr | None
= None
paramstrictbool
= False
paramkwargsAny
= {}

Returns

Self
funcfrom_yaml_pathfrom_yaml_path(cls, /, yaml_path, registry, *, strict=True, **kwargs) -> Self

Create a ServiceAccount from a YAML file.

Args: yaml_path (str): Path to the YAML file.

Returns: ServiceAccount: An instance of ServiceAccount initialized with the YAML data.

paramcls
paramyaml_pathstr | Path
paramregistryRegistry
paramstrictbool
= True
paramkwargsAny
= {}

Returns

Self
funcget_internal_stateget_internal_state(self, /, external_state) -> dict[str, Any]

Extract and return internal state from external state based on inject configuration

paramself
paramexternal_statedict[str, Any]

Returns

dict[str, Any]
func_get_nested_value_get_nested_value(self, /, data, path) -> Any
paramself
paramdatadict[str, Any]
parampathstr

Returns

Any
func_set_nested_value_set_nested_value(self, /, data, path, value) -> None
paramself
paramdatadict[str, Any]
parampathstr
paramvalueAny

Returns

None

Last updated on

On this page