xtrace_sdk.integrations.local ============================= .. py:module:: xtrace_sdk.integrations.local Classes ------- .. autoapisummary:: xtrace_sdk.integrations.local.LocalIntegration Module Contents --------------- .. py:class:: LocalIntegration(**kwargs) Bases: :py:obj:`xtrace_sdk.integrations.base.IntegrationBase` Local integration for development purposes. :param IntegrationBase: Interface for local integrations :type IntegrationBase: class #TODO: Make this work with minimal effort .. py:method:: __del__(**kwargs) Destructor for the Local class. .. py:method:: get_chunk(chunk_ids, **kwargs) :async: Get a chunk from the local storage. .. py:method:: store_index(index, **kwargs) :async: Store the index in the local storage. .. py:method:: store_db(db, **kwargs) :async: Store the database in the local storage. .. py:method:: load_index(**kwargs) :async: Load the index from the local storage. .. py:method:: load_db(**kwargs) Load the database from the local storage. .. py:method:: compute_hamming_distances(query, pk, **kwargs) :async: Given a query and key, compute the Hamming distances between the query and the data in the local storage.