yr.InstanceProxy#
- class yr.InstanceProxy(instance_id, class_descriptor, class_methods, base_cls, function_id, need_order=True, group_name='', is_async=False, instance_name=None, namespace=None, code_ref=None, bypass_datasystem_default=False)[source]#
Bases:
objectUse to decorate a user class.
Initialize the InstanceProxy instance.
Attributes
The checkpoint_id associated with this instance.
The real instance ID assigned by the runtime.
The restore metadata returned when this instance was created via snapstart().
Methods
Initialize the InstanceProxy instance.
Delete a checkpoint.
Deserialization to rebuild instance proxy.
Get the FunctionGroupHandler.
Return the instance status.
List all checkpoints for this instance's function type.
Serialization of instance proxy.
Create instance snapshot.
Start a new instance from a snapshot.
Terminate the instance.