-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed
Labels
Description
Providers manager raises these warnings when importing AzureDataFactoryHook:
[2021-03-08 19:48:39,667] {providers_manager.py:249} WARNING - The '<class 'airflow.providers.microsoft.azure.hooks.azure_data_factory.AzureDataFactoryHook'>' is missing conn_type attribute and cannot be registered
[2021-03-08 19:48:39,667] {providers_manager.py:249} WARNING - The '<class 'airflow.providers.microsoft.azure.hooks.azure_data_factory.AzureDataFactoryHook'>' is missing conn_name_attr attribute and cannot be registered
[2021-03-08 19:48:39,667] {providers_manager.py:249} WARNING - The '<class 'airflow.providers.microsoft.azure.hooks.azure_data_factory.AzureDataFactoryHook'>' is missing hook_name attribute and cannot be registered
[2021-03-08 19:48:39,823] {providers_manager.py:249} WARNING - The '<class 'airflow.providers.microsoft.azure.hooks.azure_data_factory.AzureDataFactoryHook'>' is missing conn_type attribute and cannot be registered
[2021-03-08 19:48:39,824] {providers_manager.py:249} WARNING - The '<class 'airflow.providers.microsoft.azure.hooks.azure_data_factory.AzureDataFactoryHook'>' is missing conn_name_attr attribute and cannot be registered
[2021-03-08 19:48:39,824] {providers_manager.py:249} WARNING - The '<class 'airflow.providers.microsoft.azure.hooks.azure_data_factory.AzureDataFactoryHook'>' is missing hook_name attribute and cannot be registered
We should be able to resolve this by adding the appropriate attributes to the hook.
This could be a good first issue.