Type Aliases

Type aliases for use with type hints [PEP484].

In order to keep class and method signatures readable, the documentation for other Yangson modules uses the names of type aliases unprefixed, i.e. without module names.

yangson.typealiases.DataPath

alias of builtins.str

yangson.typealiases.InstanceIdentifier

alias of builtins.str

yangson.typealiases.InstanceName

alias of builtins.str

yangson.typealiases.JSONPointer

alias of builtins.str

yangson.typealiases.ModuleId

alias of typing.Tuple

yangson.typealiases.PrefName

alias of builtins.str

yangson.typealiases.QualName

alias of typing.Tuple

yangson.typealiases.RawEntry = typing.Union[int, str, typing.List[NoneType], typing.Dict[str, _ForwardRef('RawValue')]]

Raw entry of a leaf-list or list.

yangson.typealiases.RawLeafList

alias of typing.List

yangson.typealiases.RawList

alias of typing.List

yangson.typealiases.RawObject

alias of typing.Dict

yangson.typealiases.RawScalar = typing.Union[int, str, typing.List[NoneType]]

Raw scalar value as produced by JSON parser.

yangson.typealiases.RawValue = typing.Union[int, str, typing.List[NoneType], typing.Dict[str, _ForwardRef('RawValue')], typing.List[typing.Dict[str, _ForwardRef('RawValue')]], typing.List[typing.Union[int, str, typing.List[NoneType]]]]

Raw value of any type.

yangson.typealiases.ResourceIdentifier

alias of builtins.str

yangson.typealiases.RevisionDate

alias of builtins.str

yangson.typealiases.ScalarValue = typing.Union[int, decimal.Decimal, str, typing.Tuple[NoneType]]

Scalar value of an InstanceNode.

yangson.typealiases.SchemaNodeId

alias of builtins.str

yangson.typealiases.SchemaPath

alias of builtins.str

yangson.typealiases.SchemaRoute

alias of typing.List

yangson.typealiases.YangIdentifier

alias of builtins.str