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 str

yangson.typealiases.InstanceIdentifier

alias of str

yangson.typealiases.InstanceName

alias of str

yangson.typealiases.JSONPointer

alias of str

yangson.typealiases.ModuleId

Module identifier: (YangIdentifier, RevisionDate).

alias of Tuple[str, str]

yangson.typealiases.PrefName

alias of str

yangson.typealiases.QualName

Qualified name, tuple of name and module name.

alias of Tuple[str, str]

yangson.typealiases.RawEntry

Raw entry of a leaf-list or list.

alias of Union[bool, int, str, List[None], Dict[str, RawValue]]

yangson.typealiases.RawLeafList

List of raw scalars.

alias of List[Union[bool, int, str, List[None]]]

yangson.typealiases.RawList

List of raw objects.

alias of List[Dict[str, RawValue]]

yangson.typealiases.RawMetadataObject

Raw metadata object as returned by JSON parser.

alias of Dict[str, Union[bool, int, str, List[None]]]

yangson.typealiases.RawObject

Raw object as returned by JSON parser.

alias of Dict[str, RawValue]

yangson.typealiases.RawScalar

Raw scalar value as produced by JSON parser.

alias of Union[bool, int, str, List[None]]

yangson.typealiases.RawValue

Raw value of any type.

alias of Union[bool, int, str, List[None], Dict[str, RawValue], List[Dict[str, RawValue]], List[Union[bool, int, str, List[None]]]]

yangson.typealiases.ResourceIdentifier

alias of str

yangson.typealiases.RevisionDate

alias of str

yangson.typealiases.ScalarValue

Scalar value of an InstanceNode.

alias of Union[int, decimal.Decimal, str, Tuple[None]]

yangson.typealiases.SchemaNodeId

alias of str

yangson.typealiases.SchemaPath

alias of str

yangson.typealiases.SchemaRoute

Schema route, a list of qualified names of schema nodes.

alias of List[Tuple[str, str]]

yangson.typealiases.YangIdentifier

alias of str