Add account_host to extra fields in ADLS get_fs() method
#53521
Merged
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.
Description
This PR addresses #53333 by adding support for the
account_hostfield in the ADLSget_fs()method. The current implementation misses this field, even though it's commonly needed for custom Azure endpoint configurations.What is the purpose of this change?
To ensure users can configure
account_hostvia Airflow's Azure connection extras, aligning the behavior with other fields likeaccount_nameandaccount_key.Related Issue
Closes #53333
Changes
account_hostto thefieldslist inairflow/providers/microsoft/azure/fs/adls.py.account_hostis picked up correctly.Testing
pytestfor affected provider files.Backport
Please consider backporting this fix to the v2-10-stable branch. This bug affects users on Airflow 2.10 who rely on custom ADLS account_host values for enterprise or private Azure environments, and there is no workaround without this patch.
Checklist
pytestpre-commit run --all-filesand fixed all issues