BuildClient
Hierarchy
- ActorJobBaseClient
- BuildClient
Index
Methods
__init__
Initialize a new instance.
Parameters
keyword-onlybase_url: str
Base URL of the API server.
keyword-onlyroot_client: ApifyClient
The ApifyClient instance under which this resource client exists.
keyword-onlyhttp_client: HTTPClient
The HTTPClient 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
abort
Abort the Actor build which is starting or currently running and return its details.
https://docs.apify.com/api/v2#/reference/actor-builds/abort-build/abort-build
Returns dict
delete
Returns None
get
Return information about the Actor build.
https://docs.apify.com/api/v2#/reference/actor-builds/build-object/get-build
Returns dict | None
get_open_api_definition
Return OpenAPI definition of the Actor's build.
Returns dict | None
log
Get the client for the log of the Actor build.
https://docs.apify.com/api/v2/#/reference/actor-builds/build-log/get-log
Returns LogClient
wait_for_finish
Wait synchronously until the build finishes or the server times out.
Parameters
optionalkeyword-onlywait_secs: int | None = None
How long does the client wait for build to finish. None for indefinite.
Returns dict | None
Sub-client for manipulating a single Actor build.