-
Notifications
You must be signed in to change notification settings - Fork 7
APP-5243: Migrate to httpx
(goodbye requests
👋 )
#679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
4f4e55f
APP-5243: Migrate to `httpx` (goodbye `requests`)
Aryamanz29 7a5148f
[ci] Dropped support for `Python 3.8` (httpx-retries requires Python …
Aryamanz29 98b51c8
[changes] Fixed `AtlanClient` event stream handling
Aryamanz29 5a09533
[refactor] Migrated `AssetClient/AsyncAssetClient` to use shared oper…
Aryamanz29 14cb505
[ci:temp] Skip `qa-checks` job
Aryamanz29 dfc0ac3
[refactor] Migrated other clients to use `common` operations
Aryamanz29 22655d6
[tests/fix] Fixed failing cm test due to incorrect refactoring (save_…
Aryamanz29 ce98b05
[refactor] Migrated `caches` to use `common` operations
Aryamanz29 bcb5fbe
[refactor] Rebased, refactored (`dq_template_config_cache`) and did c…
Aryamanz29 b091fe4
[refactor] Refactored translators, retranslators, async batch and AIO…
Aryamanz29 27e7266
[deps] Added `pytest-asyncio` dependency for async testing
Aryamanz29 1a82ee6
[tests] Added async `connection_cache` tests
Aryamanz29 d4f866f
[tests] Added async `source_tag_cache` tests
Aryamanz29 3bbbea0
[refactor] Use `@validate_arguments` decorator in aio clients and use…
Aryamanz29 00ecd03
[tests] Added asyncio configuration for aio tests
Aryamanz29 139d097
[tests] Added async `client`, `credential_client`, `file_client`, and…
Aryamanz29 5494461
[tests] Added async `cm`, `audit`, `query`, and `sso`, `task`, `atlan…
Aryamanz29 7c3a70e
Merge branch 'main' into APP-5243
Aryamanz29 f61c373
[uv] Resync uv lock dependencies
Aryamanz29 3e73176
[feat] Added client type to the sdk headers
Aryamanz29 0bff7e4
[tests:aio] Added async `test_client` integration tests
Aryamanz29 c8c71ff
[tests:aio] Added async `test_index_search` integration tests
Aryamanz29 e163551
[change] Used tenacity for `_retrieve_connection_with_retry`
Aryamanz29 f337035
[tests:aio] Added remaining tests: admin, batch, tag, ol, cm, conn, g…
Aryamanz29 0ef9249
[tests] Fixed unit tests + aio integration runtime warnings (test_cus…
Aryamanz29 6fdcc42
[fix] Fixed race condition in shared session headers
Aryamanz29 62eea05
Merge branch 'main' into APP-5243
Aryamanz29 7152c45
[feat] Added `AsyncAtlanClient.from_token_guid()` method
Aryamanz29 74d5cea
[tests:aio] Fixed `aio` tests suite (+ test_lineage)
Aryamanz29 f5c3f82
[ci] Added `pattern` and `label` based execution of `aio` integration…
Aryamanz29 719b047
[ci] Fixed changed files output for `check-aio-changes` job
Aryamanz29 8dda545
[cleanup] Fixed imports + aio tests collision (admin_test)
Aryamanz29 d67c3b7
[generator] Fixed generator as per latest async refactoring changes
Aryamanz29 ba9a30b
[generator] Generated latest typedef models
Aryamanz29 1d17747
[change] Fixed async cm handling in referenceable.py (json() method)
Aryamanz29 dbf74cc
[ci] Added `-vv` flag for pytest verbose output
Aryamanz29 a609595
[qa] Fixed all mypy violations
Aryamanz29 0a72ae8
[test:aio] Improved `test_asset_batch` test
Aryamanz29 d4477ac
[change] lets use consistent naming in FS (`execute_async()`)
Aryamanz29 896ae40
[ci:conda] changed python constraint to `< 4`
Aryamanz29 020033d
[ci] enabled qa checks
Aryamanz29 767cdee
[tests] Use `token_client` (retry=0) to avoid extra token generation
Aryamanz29 ff0f932
[qa] Fixed mypy violations
Aryamanz29 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _appworkflowrun: | ||
|
||
AppWorkflowRun | ||
============== | ||
|
||
.. module:: pyatlan.model.assets | ||
:no-index: | ||
|
||
.. autoclass:: AppWorkflowRun | ||
:members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _databricksnotebook: | ||
|
||
DatabricksNotebook | ||
================== | ||
|
||
.. module:: pyatlan.model.assets | ||
:no-index: | ||
|
||
.. autoclass:: DatabricksNotebook | ||
:members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _microstrategycolumn: | ||
|
||
MicroStrategyColumn | ||
=================== | ||
|
||
.. module:: pyatlan.model.assets | ||
:no-index: | ||
|
||
.. autoclass:: MicroStrategyColumn | ||
:members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _notebook: | ||
|
||
Notebook | ||
======== | ||
|
||
.. module:: pyatlan.model.assets | ||
:no-index: | ||
|
||
.. autoclass:: Notebook | ||
:members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _qlikcolumn: | ||
|
||
QlikColumn | ||
========== | ||
|
||
.. module:: pyatlan.model.assets | ||
:no-index: | ||
|
||
.. autoclass:: QlikColumn | ||
:members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright 2022 Atlan Pte. Ltd. | ||
# Copyright 2025 Atlan Pte. Ltd. | ||
# Based on original code from https://github.com/apache/atlas (under Apache-2.0 license) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright 2025 Atlan Pte. Ltd. | ||
""" | ||
Async cache modules for Atlan. | ||
|
||
This module provides async versions of all cache functionality | ||
with the same API as the sync versions, just requiring await. | ||
|
||
Pattern: All async cache methods reuse shared business logic from pyatlan.cache.common | ||
to ensure identical behavior with sync cache implementations. | ||
""" | ||
|
||
from .atlan_tag_cache import AsyncAtlanTagCache | ||
from .connection_cache import AsyncConnectionCache | ||
from .custom_metadata_cache import AsyncCustomMetadataCache | ||
from .dq_template_config_cache import AsyncDQTemplateConfigCache | ||
from .enum_cache import AsyncEnumCache | ||
from .group_cache import AsyncGroupCache | ||
from .role_cache import AsyncRoleCache | ||
from .source_tag_cache import AsyncSourceTagCache | ||
from .user_cache import AsyncUserCache | ||
|
||
__all__ = [ | ||
"AsyncAtlanTagCache", | ||
"AsyncConnectionCache", | ||
"AsyncCustomMetadataCache", | ||
"AsyncDQTemplateConfigCache", | ||
"AsyncEnumCache", | ||
"AsyncGroupCache", | ||
"AsyncRoleCache", | ||
"AsyncSourceTagCache", | ||
"AsyncUserCache", | ||
] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.