ni.datastore 0.1.0.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ni/datastore/__init__.py +66 -0
- ni/datastore/_client.py +652 -0
- ni/datastore/_types/__init__.py +1 -0
- ni/datastore/_types/_alias.py +61 -0
- ni/datastore/_types/_extension_schema.py +51 -0
- ni/datastore/_types/_hardware_item.py +106 -0
- ni/datastore/_types/_operator.py +80 -0
- ni/datastore/_types/_published_condition.py +83 -0
- ni/datastore/_types/_published_measurement.py +188 -0
- ni/datastore/_types/_software_item.py +82 -0
- ni/datastore/_types/_step.py +150 -0
- ni/datastore/_types/_test.py +80 -0
- ni/datastore/_types/_test_adapter.py +112 -0
- ni/datastore/_types/_test_description.py +82 -0
- ni/datastore/_types/_test_result.py +181 -0
- ni/datastore/_types/_test_station.py +82 -0
- ni/datastore/_types/_uut.py +92 -0
- ni/datastore/_types/_uut_instance.py +100 -0
- ni/datastore/_types/py.typed +0 -0
- ni/datastore/grpc_conversion.py +213 -0
- ni/datastore/py.typed +0 -0
- ni_datastore-0.1.0.dev1.dist-info/LICENSE +21 -0
- ni_datastore-0.1.0.dev1.dist-info/METADATA +68 -0
- ni_datastore-0.1.0.dev1.dist-info/RECORD +25 -0
- ni_datastore-0.1.0.dev1.dist-info/WHEEL +4 -0
ni/datastore/__init__.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"""Public API for accessing the NI Data Store Service."""
|
|
2
|
+
|
|
3
|
+
from ni.datamonikers.v1.data_moniker_pb2 import Moniker
|
|
4
|
+
from ni.datastore._client import Client
|
|
5
|
+
from ni.datastore._types._alias import Alias
|
|
6
|
+
from ni.datastore._types._extension_schema import ExtensionSchema
|
|
7
|
+
from ni.datastore._types._hardware_item import HardwareItem
|
|
8
|
+
from ni.datastore._types._operator import Operator
|
|
9
|
+
from ni.datastore._types._published_condition import PublishedCondition
|
|
10
|
+
from ni.datastore._types._published_measurement import PublishedMeasurement
|
|
11
|
+
from ni.datastore._types._software_item import SoftwareItem
|
|
12
|
+
from ni.datastore._types._step import Step
|
|
13
|
+
from ni.datastore._types._test import Test
|
|
14
|
+
from ni.datastore._types._test_adapter import TestAdapter
|
|
15
|
+
from ni.datastore._types._test_description import TestDescription
|
|
16
|
+
from ni.datastore._types._test_result import TestResult
|
|
17
|
+
from ni.datastore._types._test_station import TestStation
|
|
18
|
+
from ni.datastore._types._uut import Uut
|
|
19
|
+
from ni.datastore._types._uut_instance import UutInstance
|
|
20
|
+
from ni.measurements.data.v1.data_store_pb2 import ErrorInformation, Outcome
|
|
21
|
+
from ni.measurements.metadata.v1.metadata_store_pb2 import AliasTargetType
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"Client",
|
|
25
|
+
"Alias",
|
|
26
|
+
"AliasTargetType",
|
|
27
|
+
"ErrorInformation",
|
|
28
|
+
"ExtensionSchema",
|
|
29
|
+
"HardwareItem",
|
|
30
|
+
"Moniker",
|
|
31
|
+
"Operator",
|
|
32
|
+
"Outcome",
|
|
33
|
+
"PublishedCondition",
|
|
34
|
+
"PublishedMeasurement",
|
|
35
|
+
"SoftwareItem",
|
|
36
|
+
"Step",
|
|
37
|
+
"Test",
|
|
38
|
+
"TestAdapter",
|
|
39
|
+
"TestDescription",
|
|
40
|
+
"TestResult",
|
|
41
|
+
"TestStation",
|
|
42
|
+
"Uut",
|
|
43
|
+
"UutInstance",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
# Hide that it was not defined in this top-level package
|
|
47
|
+
Client.__module__ = __name__
|
|
48
|
+
Alias.__module__ = __name__
|
|
49
|
+
AliasTargetType.__module__ = __name__
|
|
50
|
+
ErrorInformation.__module__ = __name__
|
|
51
|
+
ExtensionSchema.__module__ = __name__
|
|
52
|
+
HardwareItem.__module__ = __name__
|
|
53
|
+
Moniker.__module__ = __name__
|
|
54
|
+
Operator.__module__ = __name__
|
|
55
|
+
Outcome.__module__ = __name__
|
|
56
|
+
PublishedCondition.__module__ = __name__
|
|
57
|
+
PublishedMeasurement.__module__ = __name__
|
|
58
|
+
SoftwareItem.__module__ = __name__
|
|
59
|
+
Step.__module__ = __name__
|
|
60
|
+
Test.__module__ = __name__
|
|
61
|
+
TestAdapter.__module__ = __name__
|
|
62
|
+
TestDescription.__module__ = __name__
|
|
63
|
+
TestResult.__module__ = __name__
|
|
64
|
+
TestStation.__module__ = __name__
|
|
65
|
+
Uut.__module__ = __name__
|
|
66
|
+
UutInstance.__module__ = __name__
|