ApiElementProxy#
- class ansys.rocky.core.rocky_api_proxies.ApiElementProxy(pyro_api: Pyro5.api.Proxy, pool_id: str, session_uid: str | None = None)#
Provides a proxy object for an API element.
- Parameters:
- pyro_api
Pyro5.api.Proxy Pyro5 proxy object for interacting with the Rocky app.
- pool_id
int ID of the API element.
- pyro_api
Overview#
Serialize a proxy object of the API element. |
Import detail#
from ansys.rocky.core.rocky_api_proxies import ApiElementProxy
Method detail#
- classmethod ApiElementProxy.serialize(obj: ApiElementProxy) dict#
Serialize a proxy object of the API element.
- Parameters:
- obj
Any Object to serialize.
- obj
- Returns:
dictDictionary of the serialized object.