Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prefect.io/llms.txt

Use this file to discover all available pages before exploring further.

prefect.client

Asynchronous client implementation for communicating with the Prefect REST API. Explore the client by communicating with an in-memory webserver - no setup required: <div class=โ€œtermyโ€>
$ # start python REPL with native await functionality
$ python -m asyncio
from prefect.client.orchestration import get_client
async with get_client() as client:
    response = await client.hello()
    print(response.json())
๐Ÿ‘‹
</div>