ni.measurements.metadata.v1.client ================================== .. py:module:: ni.measurements.metadata.v1.client .. autoapi-nested-parse:: Public API for accessing the NI Metadata Store Service. Classes ------- .. autoapisummary:: ni.measurements.metadata.v1.client.MetadataStoreClient Package Contents ---------------- .. py:class:: MetadataStoreClient(*, discovery_client = None, grpc_channel = None, grpc_channel_pool = None) Bases: :py:obj:`ni.measurements.metadata.v1.client._client_base.GrpcServiceClientBase`\ [\ :py:obj:`ni.measurements.metadata.v1.metadata_store_service_pb2_grpc.MetadataStoreServiceStub`\ ] Client for accessing the NI Metadata Store Service. Initialize the Metadata Store Client. :param discovery_client: An optional discovery client (recommended). :param grpc_channel: An optional metadata store gRPC channel. :param grpc_channel_pool: An optional gRPC channel pool (recommended). .. py:attribute:: __slots__ :value: () .. py:method:: get_uut_instance(request) Gets the UUT instance associated with the identifier given in the request. .. py:method:: query_uut_instances(request) Perform an OData query on UUT instances. .. py:method:: create_uut_instance(request) Creates a new UUT instance in the metadata store. .. py:method:: get_uut(request) Gets the UUT associated with the identifier given in the request. .. py:method:: query_uuts(request) Perform an OData query on UUTs. .. py:method:: create_uut(request) Creates a new UUT in the metadata store. .. py:method:: get_operator(request) Gets the operator associated with the identifier given in the request. .. py:method:: query_operators(request) Perform an OData query on operators. .. py:method:: create_operator(request) Creates a new operator in the metadata store. .. py:method:: get_test_description(request) Gets the test description associated with the identifier given in the request. .. py:method:: query_test_descriptions(request) Perform an OData query on test descriptions. .. py:method:: create_test_description(request) Creates a new test description in the metadata store. .. py:method:: get_test(request) Gets the test associated with the identifier given in the request. .. py:method:: query_tests(request) Perform an OData query on tests. .. py:method:: create_test(request) Creates a new test in the metadata store. .. py:method:: get_test_station(request) Gets the test station associated with the identifier given in the request. .. py:method:: query_test_stations(request) Perform an OData query on test stations. .. py:method:: create_test_station(request) Creates a new test station in the metadata store. .. py:method:: get_hardware_item(request) Gets the hardware item associated with the identifier given in the request. .. py:method:: query_hardware_items(request) Perform an OData query on hardware items. .. py:method:: create_hardware_item(request) Creates a new hardware item in the metadata store. .. py:method:: get_software_item(request) Gets the software item associated with the identifier given in the request. .. py:method:: query_software_items(request) Perform an OData query on software items. .. py:method:: create_software_item(request) Creates a new software item in the metadata store. .. py:method:: get_test_adapter(request) Gets the test adapter associated with the identifier given in the request. .. py:method:: query_test_adapters(request) Perform an OData query on test adapters. .. py:method:: create_test_adapter(request) Creates a new test adapter in the metadata store. .. py:method:: register_schema(request) Registers a schema. .. py:method:: list_schemas(request) List the schemas that have been previously registered. .. py:method:: get_alias(request) Gets the target of a given alias. .. py:method:: query_aliases(request) Perform an OData query on the created aliases. .. py:method:: create_alias(request) Creates an alias of the specified metadata. This alias can be used when creating other metadata or publishing. .. py:method:: delete_alias(request) Deletes a created alias. .. py:method:: create_from_json_document(request) Creates metadata from a JSON document.