ni.datamonikers.v1.client ========================= .. py:module:: ni.datamonikers.v1.client .. autoapi-nested-parse:: Public API for accessing the NI Data Moniker Service. Classes ------- .. autoapisummary:: ni.datamonikers.v1.client.MonikerClient Package Contents ---------------- .. py:class:: MonikerClient(*, service_location = None, grpc_channel = None, grpc_channel_pool = None) Client for accessing the NI Data Moniker Service. Initialize the Moniker Client. :param service_location: The address of the data moniker service location (recommended). :param grpc_channel: A data moniker gRPC channel (optional). :param grpc_channel_pool: A gRPC channel pool (recommended). Either `service_location` or `grpc_channel` must be provided. If both are provided, `grpc_channel` takes precedence. .. py:attribute:: __slots__ :value: ('_lock', '_owns_grpc_channel_pool', '_service_location', '_grpc_channel_pool', '_stub') .. py:method:: __enter__() Enter the runtime context of the MonikerClient. .. py:method:: __exit__(exc_type, exc_val, traceback) Exit the runtime context of the MonikerClient. .. py:method:: close() Close the client and clean up resources that it owns. .. py:method:: begin_sideband_stream(request) Begin a sideband stream. .. py:method:: stream_read(moniker_list) Stream read data from monikers. .. py:method:: stream_write(requests) Stream write data to monikers. .. py:method:: stream_read_write(requests) Stream read and write data with monikers. .. py:method:: read_from_moniker(moniker) Read data from a moniker. .. py:method:: write_to_moniker(request) Write data to a moniker.