ActorEnvVarClientAsync
Hierarchy
- ResourceClientAsync
- ActorEnvVarClientAsync
Index
Methods
Properties
Methods
__init__
Initialize a new instance.
Parameters
keyword-onlybase_url: str
Base URL of the API server.
keyword-onlyroot_client: ApifyClientAsync
The ApifyClientAsync instance under which this resource client exists.
keyword-onlyhttp_client: HTTPClientAsync
The HTTPClientAsync instance to be used in this client.
optionalkeyword-onlyresource_id: str | None = None
ID of the manipulated resource, in case of a single-resource client.
keyword-onlyresource_path: str
Path to the resource's endpoint on the API server.
optionalkeyword-onlyparams: dict | None = None
Parameters to include in all requests from this client.
Returns None
delete
Delete the Actor environment variable.
Returns None
get
Return information about the Actor environment variable.
https://docs.apify.com/api/v2#/reference/actors/environment-variable-object/get-environment-variable
Returns dict | None
update
Update the Actor environment variable with specified fields.
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.
Returns dict
Async sub-client for manipulating a single Actor environment variable.