Skip to content

Commit f44e1d1

Browse files
committed
[refactor] Migrated AssetClient/AsyncAssetClient to use shared operations
1 parent ac40282 commit f44e1d1

File tree

9 files changed

+4555
-741
lines changed

9 files changed

+4555
-741
lines changed

pyatlan/client/aio/__init__.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
"""
2+
Async Atlan Client (AIO)
3+
========================
4+
5+
This module provides async versions of all Atlan client functionality
6+
with the same API as the sync versions, just requiring await.
7+
8+
Pattern: All async methods reuse shared business logic from pyatlan.client.shared
9+
to ensure identical behavior with sync clients.
10+
11+
Usage:
12+
from pyatlan.client.aio import AsyncAtlanClient
13+
14+
async with AsyncAtlanClient() as client:
15+
results = await client.asset.search(criteria)
16+
17+
# Async iteration through paginated results
18+
async for asset in results:
19+
print(asset.name)
20+
"""
21+
22+
from .asset import AsyncAssetClient
23+
from .client import AsyncAtlanClient
24+
from .results import (
25+
AsyncIndexSearchResults,
26+
AsyncLineageListResults,
27+
AsyncSearchResults,
28+
SimpleConcurrentAsyncIndexSearchResults,
29+
)
30+
31+
__all__ = [
32+
"AsyncAtlanClient",
33+
"AsyncAssetClient",
34+
"AsyncIndexSearchResults",
35+
"AsyncLineageListResults",
36+
"AsyncSearchResults",
37+
"SimpleConcurrentAsyncIndexSearchResults",
38+
]

0 commit comments

Comments
 (0)