Skip to content
Snippets Groups Projects
Commit 73f407a1 authored by Ladislav Lhotka's avatar Ladislav Lhotka
Browse files

Clean up type aliases.

parent 46126c95
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ from .exception import YangsonException
from .statement import Statement
from .typealiases import *
# Local type aliases
Range = List[List[Union[int, decimal.Decimal]]]
class DataType:
"""Abstract class for YANG data types."""
......
......@@ -11,5 +11,3 @@ ScalarValue = Union[int, Decimal, str]
NodeName = Tuple[YangIdentifier, YangIdentifier] # (namespace, name)
SchemaAddress = List[NodeName]
ModuleId = Tuple[YangIdentifier, Optional[RevisionDate]]
Range = List[List[Any]]
PrefixMap = Dict[YangIdentifier, ModuleId]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment