ActorEnvVarCollectionClientAsync
Hierarchy
- ResourceClientAsync
- ActorEnvVarCollectionClientAsync
Index
Methods
Properties
Methods
__init__
Initialize the resource client.
Parameters
keyword-onlybase_url: str
API base URL.
keyword-onlypublic_base_url: str
Public CDN base URL.
keyword-onlyhttp_client: HttpClientAsync
HTTP client for making requests.
keyword-onlyresource_path: str
Resource endpoint path (e.g., 'actors', 'datasets').
keyword-onlyclient_registry: ClientRegistryAsync
Bundle of client classes for dependency injection.
optionalkeyword-onlyresource_id: str | None = None
Optional resource ID for single-resource clients.
optionalkeyword-onlyparams: dict | None = None
Optional default parameters for all requests.
Returns None
create
Create a new Actor environment variable.
Parameters
optionalkeyword-onlyis_secret: bool | None = None
Whether the environment variable is secret or not.
keyword-onlyname: str
The name of the environment variable.
keyword-onlyvalue: str
The value of the environment variable.
optionalkeyword-onlytimeout: Timeout = 'short'
Timeout for the API HTTP request.
Returns EnvVar
The created Actor environment variable.
iterate
Iterate over the available Actor environment variables.
The underlying API endpoint does not support pagination, so this method performs a single API call and yields the items from its response. If the endpoint returns more items than fit in one response (the API caps the page size), the rest are not returned. In practice this is rarely a concern — Actors are not expected to define more environment variables than the cap.
Parameters
optionalkeyword-onlytimeout: Timeout = 'short'
Timeout for the API HTTP request.
Returns AsyncIterator[EnvVar]
list
List the available Actor environment variables.
Parameters
optionalkeyword-onlytimeout: Timeout = 'short'
Timeout for the API HTTP request.
Returns ListOfEnvVars
The list of available Actor environment variables.
Properties
resource_id
Get the resource ID.
Sub-client for the Actor environment variable collection.
Provides methods to manage Actor environment variables, e.g. list or create them. Obtain an instance via an appropriate method on the
ActorVersionClientAsyncclass.