Skip to main content

BuildClient

apify_client.clients.BuildClient

Sub-client for manipulating a single actor build.

Index

Methods

abort

  • abort(): Dict

get

  • get(): Optional[Dict]

wait_for_finish

  • wait_for_finish(*, wait_secs): Optional[Dict]
  • Wait synchronously until the build finishes or the server times out.


    Parameters

    • wait_secs: Optional[int] = Noneoptionalkeyword-only

      how long does the client wait for build to finish. None for indefinite.

    Returns Optional[Dict]

    The actor build data. If the status on the object is not one of the terminal statuses (SUCEEDED, FAILED, TIMED_OUT, ABORTED), then the build has not yet finished.