- class ApiListProxy(pyro_api: Pyro5.api.Proxy, pool_id: str)#
Bases:
ApiElementProxy
Provides a proxy object for API elements that implement the sequence interface.
Overview#
Serialize a proxy object of the API element. |
Import detail#
from ansys.rocky.core.rocky_api_proxies import ApiListProxy
Method detail#
- ApiListProxy.__getitem__(index: int) ApiElementProxy #
- ApiListProxy.__iter__() collections.abc.Generator[ApiElementProxy, None, None] #
- classmethod ApiListProxy.serialize(obj: ApiElementProxy) dict #
Serialize a proxy object of the API element.
- Parameters:
- obj
Any
Object to serialize.
- obj
- Returns:
dict
Dictionary of the serialized object.