Add Python type hints
[deliverable/barectf.git] / barectf / __init__.py
index 0e2cfada50a6a472f36224f9126323591e0af0f0..0dcfe8f8e5e525754567591286aeaa25d04d545a 100644 (file)
@@ -26,6 +26,7 @@ import barectf.version as barectf_version
 import barectf.config as barectf_config
 import barectf.config_file as barectf_config_file
 import barectf.gen as barectf_gen
+import barectf.typing as barectf_typing
 
 
 # version API
@@ -35,6 +36,14 @@ __patch_version__ = barectf_version.__patch_version__
 __version__ = barectf_version.__version__
 
 
+# common typing API
+Index = barectf_typing.Index
+Count = barectf_typing.Count
+Id = barectf_typing.Id
+Alignment = barectf_typing.Alignment
+VersionNumber = barectf_typing.VersionNumber
+
+
 # configuration API
 _ArrayFieldType = barectf_config._ArrayFieldType
 _BitArrayFieldType = barectf_config._BitArrayFieldType
@@ -56,6 +65,7 @@ EnumerationFieldTypeMapping = barectf_config.EnumerationFieldTypeMapping
 EnumerationFieldTypeMappingRange = barectf_config.EnumerationFieldTypeMappingRange
 EnumerationFieldTypeMappings = barectf_config.EnumerationFieldTypeMappings
 EventType = barectf_config.EventType
+LogLevel = barectf_config.LogLevel
 RealFieldType = barectf_config.RealFieldType
 SignedEnumerationFieldType = barectf_config.SignedEnumerationFieldType
 SignedIntegerFieldType = barectf_config.SignedIntegerFieldType
@@ -92,3 +102,4 @@ del barectf_version
 del barectf_config
 del barectf_config_file
 del barectf_gen
+del barectf_typing
This page took 0.022114 seconds and 4 git commands to generate.