Skip to content

Fixing return type for azure hook 'run_query'#45470

Merged
amoghrajesh merged 6 commits into
apache:mainfrom
amoghrajesh:fix-ci-azure
Jan 8, 2025
Merged

Fixing return type for azure hook 'run_query'#45470
amoghrajesh merged 6 commits into
apache:mainfrom
amoghrajesh:fix-ci-azure

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

New release of https://github.com/Azure/azure-kusto-python couldve introduced this. Tried my hand at a fix for CI failure: https://github.com/apache/airflow/actions/runs/12652631045


^ 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 newsfragments.

@amoghrajesh amoghrajesh marked this pull request as ready for review January 7, 2025 19:01

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this fixes https://github.com/apache/airflow/actions/runs/12652631045/job/35256276439 ? ... then I don't need to investigate in parallel... LGTM!

Comment thread providers/src/airflow/providers/microsoft/azure/hooks/adx.py
Comment thread providers/src/airflow/providers/microsoft/azure/hooks/adx.py Outdated
@jscheffl

jscheffl commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

Sorry for the failed attempts :-( Sometimes I hate spell-checking :-(

Comment thread providers/src/airflow/providers/microsoft/azure/hooks/adx.py Outdated
@amoghrajesh

Copy link
Copy Markdown
Contributor Author

@jscheffl it was slightly late for me, I slept! Will check now. Thanks though

Comment thread providers/src/airflow/providers/microsoft/azure/hooks/adx.py
@amoghrajesh

Copy link
Copy Markdown
Contributor Author

@jscheffl it took me a few tries to fix spellcheck too!
It was the wordlist that needed update:

"""
This module contains Azure Data Explorer hook.

.. spelling:word-list::

    KustoResponseDataSet
    kusto
"""
****

@amoghrajesh amoghrajesh merged commit 3787844 into apache:main Jan 8, 2025
@potiuk

potiuk commented Jan 8, 2025

Copy link
Copy Markdown
Member

Nice :)

dstandish pushed a commit to astronomer/airflow that referenced this pull request Jan 8, 2025
.. spelling:word-list::

KustoResponseDataSetV
KustoResponseDataSet

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, cool did not notice and did not know that spelling wordlists can also be adjusted non-global in a py file locally...

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.

4 participants