-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Added paginated_run method to KiotaRequestAdapterHook in MSGraph #57536
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
potiuk
merged 42 commits into
apache:main
from
dabla:feature/add-paginated-run-method-msgraph-hook
Dec 8, 2025
Merged
Added paginated_run method to KiotaRequestAdapterHook in MSGraph #57536
potiuk
merged 42 commits into
apache:main
from
dabla:feature/add-paginated-run-method-msgraph-hook
Dec 8, 2025
Conversation
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
…equestAdapterHook" This reverts commit 1885132.
This reverts commit 2ff2fa1.
…n MSGraphAsyncOperator
…dict so that proxy settings from connection are ignored
potiuk
approved these changes
Dec 8, 2025
Contributor
Author
|
Thx @potiuk |
52 tasks
henry3260
pushed a commit
to henry3260/airflow
that referenced
this pull request
Dec 10, 2025
…che#57536) * refactor: Added paginated_run method to KiotaRequestAdapterHook * refactor: Make execution of pagination function dynamic in KiotaRequestAdapterHook * refactor: Refactored PaginationCallable as protocol in KiotaRequestAdapterHook * Revert "refactor: Refactored PaginationCallable as protocol in KiotaRequestAdapterHook" This reverts commit 1885132. * refactor: Ignore type with execute_callable * refactor: Fixed default_pagination in MSGraphAsyncOperator * fix: url of default_pagination should be optional * fix: Fixed unit test related to pagination with operator * Revert "fix: Fixed unit test related to pagination with operator" This reverts commit 2ff2fa1. * refactor: Replace default_pagination back to static paginate method in MSGraphAsyncOperator * refactor: Allow overriding proxy settings in MSGraph hook with empty dict so that proxy settings from connection are ignored * refactor: Reformatted tests * refactor: Make sure host starts with http or https * refactor: Fixed typing * refactor: Fixed proxy tests * refactor: Accept warnings raised by get_conn method * refactor: Reformatted proxies tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added paginated_run method in KiotaRequestAdapterHook so that pagination is not only possible through the MSGraphAsyncOperator but also through the hook, so we can easily do paginated calls from python decorated tasks.
Also allow overriding proxy settings on the hook with empty dict when proxy is already defined in connection.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.