remote_method#

class ansys.mechanical.core.embedding.rpc.utils.remote_method(func)#

Decorator for passing remote methods.

Overview#

__call__

Call the stored function with provided arguments.

__call_method__

Call the stored function with the instance and provided arguments.

__get__

Return a partially applied method.

Import detail#

from ansys.mechanical.core.embedding.rpc.utils import remote_method

Method detail#

remote_method.__call__(*args, **kwargs)#

Call the stored function with provided arguments.

remote_method.__call_method__(instance, *args, **kwargs)#

Call the stored function with the instance and provided arguments.

remote_method.__get__(obj, objtype)#

Return a partially applied method.