Follow public documentation https://github.com/tensorlakeai/docs/blob/main/applications/durability.mdx on how the Python SDK interfaces need to look like.
This mainly covers:
- New
@function() decorator attribute @function(durable=False), True by default.
- New SDK function
get_remote_request(application_name, request_id) imported as from tensorlake.applications import get_remote_request.
- New RemoteRequest method
replay(upgrade_to_latest_version=True, mode=ReplayMode.ADAPTIVE).
To impelement durable=False @function() attribute we need two things:
durable=False function call IDs are random.
durable=False function calls IDs do not participate in durable function call ID computations.
Follow public documentation https://github.com/tensorlakeai/docs/blob/main/applications/durability.mdx on how the Python SDK interfaces need to look like.
This mainly covers:
@function()decorator attribute@function(durable=False), True by default.get_remote_request(application_name, request_id)imported asfrom tensorlake.applications import get_remote_request.replay(upgrade_to_latest_version=True, mode=ReplayMode.ADAPTIVE).To impelement
durable=False@function()attribute we need two things:durable=Falsefunction call IDs are random.durable=Falsefunction calls IDs do not participate in durable function call ID computations.