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)[source]#
Bases:
objectUse to decorate a user class.
Initialize the InstanceProxy instance.
Attributes
The real instance ID assigned by the runtime.
Methods
Initialize the InstanceProxy instance.
Deserialization to rebuild instance proxy.
Get the FunctionGroupHandler.
Return the instance status.
Serialization of instance proxy.
Create instance snapshot.
Start a new instance from a snapshot.
Terminate the instance.