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>