Skip to content

Rename connection type pydantic_ai to pydanticai (RFC 3986)#62817

Merged
kaxil merged 1 commit intoapache:mainfrom
astronomer:fix/pydanticai-conn-type
Mar 3, 2026
Merged

Rename connection type pydantic_ai to pydanticai (RFC 3986)#62817
kaxil merged 1 commit intoapache:mainfrom
astronomer:fix/pydanticai-conn-type

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Mar 3, 2026

Summary

RFC 3986 Section 3.1 defines URI scheme syntax as ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ). The underscore in pydantic_ai is not allowed and triggers a validation warning:

WARNING - Connection schemes (type: pydantic_ai) shall not contain '_' according to RFC3986.

Renamed to pydanticai (no separator), consistent with existing Airflow providers like openai and cohere.

Changes

  • conn_type: pydantic_ai -> pydanticai
  • default_conn_name: pydantic_ai_default -> pydanticai_default
  • Updated all example DAGs, docs, and tests to use the new names

RFC 3986 Section 3.1 only allows ALPHA, DIGIT, "+", "-", and "." in
URI schemes. The underscore in pydantic_ai triggers a validation
warning. Rename to pydanticai (no separator), consistent with existing
providers like openai and cohere.
@kaxil kaxil merged commit 65d76f1 into apache:main Mar 3, 2026
80 of 81 checks passed
@kaxil kaxil deleted the fix/pydanticai-conn-type branch March 3, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants