Skip to content

Fix PydanticAI connection types not resolving from secrets backends - #72341

Closed
haseebmalik18 wants to merge 2 commits into
apache:mainfrom
haseebmalik18:fix-pydanticai-conn-type-normalization
Closed

haseebmalik18 wants to merge 2 commits into
apache:mainfrom
haseebmalik18:fix-pydanticai-conn-type-normalization

Conversation

@haseebmalik18

Copy link
Copy Markdown
Contributor

Fixes Pydantic AI hook resolution for connections loaded from URI-based secrets backends. Connection types now match Pydantic’s normalized URI schemes, while preserving compatibility with existing hyphenated connection types.

Adds coverage for URI, JSON, and legacy connection types across Airflow core and the Task SDK.

closes: #72316

@haseebmalik18
haseebmalik18 force-pushed the fix-pydanticai-conn-type-normalization branch from 1d6c93f to d3c88ae Compare August 31, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PydanticAI hooks use wrong connection_type convention which breaks with dynamic lookup

1 participant