Skip to content

Fix typing for get_provider_name_from_short_hand and its usages #34465

@amoghrajesh

Description

@amoghrajesh

Apache Airflow version

2.7.1

What happened

The usages of get_provider_name_from_short_hand in process_package_filters requires explicit type casting to list. Eliminate the need for this by handling types properly in callers of get_provider_name_from_short_hand

What you think should happen instead

Type casting should not be needed. It is a hacky method and should be handled better.

How to reproduce

Operating System

Any

Versions of Apache Airflow Providers

Deployment

Official Apache Airflow Helm Chart

Deployment details

Anything else

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions