Skip to content

Conversation

@dabla
Copy link
Contributor

@dabla dabla commented Mar 31, 2025


^ 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.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@eladkal
Copy link
Contributor

eladkal commented Apr 4, 2025

Tests are failing

@dabla
Copy link
Contributor Author

dabla commented Apr 4, 2025

Tests are failing

Yes I know I'm going to try finish this one today

@dabla dabla marked this pull request as ready for review April 4, 2025 13:15
@dabla
Copy link
Contributor Author

dabla commented Apr 4, 2025

Almost there I think, just some weird failure with static checks

@amolsr
Copy link
Contributor

amolsr commented Apr 4, 2025

There are additional files in the PR due to permission changes. These files were previously marked as executables but no longer are.

@dabla
Copy link
Contributor Author

dabla commented Apr 4, 2025

There are additional files in the PR due to permission changes. These files were previously marked as executables but no longer are.

Weird how did those files get in there, hmm I see it's from rebase

refactor: Replace ResponseType with str
refactor: Reorganized imports TestKiotaRequestAdapterHook
refactor: Updated dependencies in README
refactor: Moved some imports to type checking block
refactor: Changed cast statements in assert_tenant_id method
refactor: Added cast for credentials in asert_tenant_id
refactor: Replaced QueryParameters type with Any
refactor: Fixed casting in assert_tenant_id method
refactor: Ignore type errors for error_mapping
refactor: Assigned casted response to new resp variable
refactor: Refactored casting statements in assert_tenant_id method
refactor: Refactored cast of Response in get_value method
refactor: Updated dependencies in get_provider_info
refactor: Deleted provider_dependencies.json
refactor: cast types in assert_tenant_id method
refactor: Recast response to httpx Response
refactor: Introduced send_request method in KiotaRequestAdapterHook
refactor: Changed return type of error_mapping method
refactor: check data type in request_information method
refactor: cast NativeResponseType to httpx.Response before passing it to get_value method
refactor: error_map cannot be None by default as this would not correspond with abstract method signature of ResponseHandler
refactor: Reformatted TestKiotaRequestAdapterHook
refactor: response parameter can be NativeResponseType as httpx Response in get_value
refactor: Fixed type casting in assert_tenant_id
@dabla dabla force-pushed the fix/msgraph-kiota-dependency branch from 45ca792 to b38a677 Compare April 4, 2025 16:34
davidblain-infrabel and others added 2 commits April 5, 2025 09:11
# Conflicts:
#	providers/microsoft/azure/README.rst
#	providers/microsoft/azure/pyproject.toml
#	providers/microsoft/azure/src/airflow/providers/microsoft/azure/get_provider_info.py
@eladkal eladkal merged commit 825fa29 into apache:main Apr 5, 2025
65 checks passed
diogotrodrigues pushed a commit to diogotrodrigues/airflow that referenced this pull request Apr 6, 2025
* refactor: Updated msgraph-core and kiota library versions to at least version 1.8.0

* refactor: await send_request
refactor: Replace ResponseType with str
refactor: Reorganized imports TestKiotaRequestAdapterHook
refactor: Updated dependencies in README
refactor: Moved some imports to type checking block
refactor: Changed cast statements in assert_tenant_id method
refactor: Added cast for credentials in asert_tenant_id
refactor: Replaced QueryParameters type with Any
refactor: Fixed casting in assert_tenant_id method
refactor: Ignore type errors for error_mapping
refactor: Assigned casted response to new resp variable
refactor: Refactored casting statements in assert_tenant_id method
refactor: Refactored cast of Response in get_value method
refactor: Updated dependencies in get_provider_info
refactor: Deleted provider_dependencies.json
refactor: cast types in assert_tenant_id method
refactor: Recast response to httpx Response
refactor: Introduced send_request method in KiotaRequestAdapterHook
refactor: Changed return type of error_mapping method
refactor: check data type in request_information method
refactor: cast NativeResponseType to httpx.Response before passing it to get_value method
refactor: error_map cannot be None by default as this would not correspond with abstract method signature of ResponseHandler
refactor: Reformatted TestKiotaRequestAdapterHook
refactor: response parameter can be NativeResponseType as httpx Response in get_value
refactor: Fixed type casting in assert_tenant_id

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
@potiuk
Copy link
Member

potiuk commented Apr 7, 2025

Nice one @dabla ;)

simonprydden pushed a commit to simonprydden/airflow that referenced this pull request Apr 8, 2025
* refactor: Updated msgraph-core and kiota library versions to at least version 1.8.0

* refactor: await send_request
refactor: Replace ResponseType with str
refactor: Reorganized imports TestKiotaRequestAdapterHook
refactor: Updated dependencies in README
refactor: Moved some imports to type checking block
refactor: Changed cast statements in assert_tenant_id method
refactor: Added cast for credentials in asert_tenant_id
refactor: Replaced QueryParameters type with Any
refactor: Fixed casting in assert_tenant_id method
refactor: Ignore type errors for error_mapping
refactor: Assigned casted response to new resp variable
refactor: Refactored casting statements in assert_tenant_id method
refactor: Refactored cast of Response in get_value method
refactor: Updated dependencies in get_provider_info
refactor: Deleted provider_dependencies.json
refactor: cast types in assert_tenant_id method
refactor: Recast response to httpx Response
refactor: Introduced send_request method in KiotaRequestAdapterHook
refactor: Changed return type of error_mapping method
refactor: check data type in request_information method
refactor: cast NativeResponseType to httpx.Response before passing it to get_value method
refactor: error_map cannot be None by default as this would not correspond with abstract method signature of ResponseHandler
refactor: Reformatted TestKiotaRequestAdapterHook
refactor: response parameter can be NativeResponseType as httpx Response in get_value
refactor: Fixed type casting in assert_tenant_id

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants