As of Airflow 2.2, the hook-class-names property has been deprecated for use in the get_provider_info() entrypoint in provider packages in favor of connection-types. However, if the provider needs to support Airflow versions <2.2 (which this provider does) than both hook-class-namesandconnection-types should exist in the entrypoint.
Also, users will see this warning in webserver logs due to missing connection-types on Airflow versions 2.2+:
DeprecationWarning: The provider airflow-provider-duckdb uses `hook-class-names` property in provider-info and has no `connection-types` one. The 'hook-class-names' property has been deprecated in favour of 'connection-types' in Airflow 2.2. Use **both** in case you want to have backwards compatibility with Airflow < 2.2
As of Airflow 2.2, the
hook-class-names
property has been deprecated for use in theget_provider_info()
entrypoint in provider packages in favor ofconnection-types
. However, if the provider needs to support Airflow versions <2.2 (which this provider does) than bothhook-class-names
andconnection-types
should exist in the entrypoint.Also, users will see this warning in webserver logs due to missing
connection-types
on Airflow versions 2.2+: