xtrace_sdk.utils.execution_context

Classes

ExecutionContext

class for execution context management in XTrace SDK.

Module Contents

class xtrace_sdk.utils.execution_context.ExecutionContext(homomorphic_client, passphrase)

class for execution context management in XTrace SDK.

Parameters:
  • homomorphic_client (Any)

  • passphrase (Any)

homomorphic
aes
id = ''
to_dict_enc()
Return type:

dict

to_dict_plain()
Return type:

dict

__str__()
Return type:

str

hash()
Return type:

str

__hash__()
Return type:

int

__eq__(other)
Parameters:

other (Any)

Return type:

bool

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

Return type:

str

classmethod _from_serialized_exec_context(passphrase, json_obj)
Parameters:
  • passphrase (Any)

  • json_obj (Any)

Return type:

Any

save_to_disk(path)
Parameters:

path (str)

Return type:

None

classmethod _load_from_disk(passphrase, path)
Parameters:
Return type:

Any

async save_to_remote(integration)
Parameters:

integration (Any)

Return type:

str

classmethod _load_from_remote(passphrase, context_id, integration)
Async:

Parameters:
  • passphrase (Any)

  • context_id (Any)

  • integration (Any)

Return type:

Any