|
42 | 42 | from pyatlan.client.aio.group import AsyncGroupClient |
43 | 43 | from pyatlan.client.aio.impersonate import AsyncImpersonationClient |
44 | 44 | from pyatlan.client.aio.oauth import AsyncOAuthTokenManager |
45 | | -from pyatlan.client.aio.oauth_client import AsyncOAuthClientClient |
| 45 | +from pyatlan.client.aio.oauth_client import AsyncOAuthClient |
46 | 46 | from pyatlan.client.aio.open_lineage import AsyncOpenLineageClient |
47 | 47 | from pyatlan.client.aio.query import AsyncQueryClient |
48 | 48 | from pyatlan.client.aio.role import AsyncRoleClient |
@@ -114,9 +114,7 @@ class AsyncAtlanClient(AtlanClient): |
114 | 114 | _async_sso_client: Optional[AsyncSSOClient] = PrivateAttr(default=None) |
115 | 115 | _async_task_client: Optional[AsyncTaskClient] = PrivateAttr(default=None) |
116 | 116 | _async_token_client: Optional[AsyncTokenClient] = PrivateAttr(default=None) |
117 | | - _async_oauth_client_client: Optional[AsyncOAuthClientClient] = PrivateAttr( |
118 | | - default=None |
119 | | - ) |
| 117 | + _async_oauth_client_client: Optional[AsyncOAuthClient] = PrivateAttr(default=None) |
120 | 118 | _async_typedef_client: Optional[AsyncTypeDefClient] = PrivateAttr(default=None) |
121 | 119 | _async_user_client: Optional[AsyncUserClient] = PrivateAttr(default=None) |
122 | 120 | _async_workflow_client: Optional[AsyncWorkflowClient] = PrivateAttr(default=None) |
@@ -367,10 +365,10 @@ def token(self) -> AsyncTokenClient: # type: ignore[override] |
367 | 365 | return self._async_token_client |
368 | 366 |
|
369 | 367 | @property |
370 | | - def oauth_client(self) -> AsyncOAuthClientClient: # type: ignore[override] |
| 368 | + def oauth_client(self) -> AsyncOAuthClient: # type: ignore[override] |
371 | 369 | """Get async OAuth client client with same API as sync""" |
372 | 370 | if self._async_oauth_client_client is None: |
373 | | - self._async_oauth_client_client = AsyncOAuthClientClient(self) # type: ignore[arg-type] |
| 371 | + self._async_oauth_client_client = AsyncOAuthClient(self) # type: ignore[arg-type] |
374 | 372 | return self._async_oauth_client_client |
375 | 373 |
|
376 | 374 | @property |
|
0 commit comments