xtrace_sdk.utils.execution_context ================================== .. py:module:: xtrace_sdk.utils.execution_context Classes ------- .. autoapisummary:: xtrace_sdk.utils.execution_context.ExecutionContext Module Contents --------------- .. py:class:: ExecutionContext(homomorphic_client, passphrase) class for execution context management in XTrace SDK. .. py:attribute:: homomorphic .. py:attribute:: aes .. py:attribute:: id :value: '' .. py:method:: to_dict_enc() .. py:method:: to_dict_plain() .. py:method:: __str__() .. py:method:: hash() .. py:method:: __hash__() .. py:method:: __eq__(other) .. py:method:: serialize_exec_context() serialize the execution context into a json string for networking/storage purpose. :return: the json string containing the execution context :rtype: str .. py:method:: _from_serialized_exec_context(passphrase, json_obj) :classmethod: .. py:method:: save_to_disk(path) .. py:method:: _load_from_disk(passphrase, path) :classmethod: .. py:method:: save_to_remote(integration) :async: .. py:method:: _load_from_remote(passphrase, context_id, integration) :classmethod: :async: