You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/29 05:03:33 UTC

[GitHub] [airflow] dstandish commented on a change in pull request #22579: Suppress import errors for providers from sources

dstandish commented on a change in pull request #22579:
URL: https://github.com/apache/airflow/pull/22579#discussion_r837058224



##########
File path: airflow/providers_manager.py
##########
@@ -138,7 +139,57 @@ def _check_builtin_provider_prefix(provider_package: str, class_name: str) -> bo
     return True
 
 
-def _sanity_check(provider_package: str, class_name: str) -> Optional[Type[BaseHook]]:
+@dataclass
+class ProviderInfo:
+    """Provider information"""
+
+    version: str
+    provider_info: Dict
+    package_or_source: str

Review comment:
       good idear




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org