Coverage for /usr/local/lib/python3.12/site-packages/prefect/client/__init__.py: 100%
4 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 10:48 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 10:48 +0000
1"""
2Asynchronous client implementation for communicating with the [Prefect REST API](https://docs.prefect.io/v3/api-ref/rest-api/).
4Explore the client by communicating with an in-memory webserver - no setup required:
6<div class="termy">
7```
8$ # start python REPL with native await functionality
9$ python -m asyncio
10from prefect.client.orchestration import get_client
11async with get_client() as client:
12 response = await client.hello()
13 print(response.json())
14👋
15```
16</div>
17"""
19from collections.abc import Callable 1a
20from typing import Any 1a
21from prefect._internal.compatibility.migration import getattr_migration 1a
23__getattr__: Callable[[str], Any] = getattr_migration(__name__) 1a