kaxil commented on a change in pull request #17625:
URL: https://github.com/apache/airflow/pull/17625#discussion_r689124798
##########
File path: airflow/providers_manager.py
##########
@@ -457,3 +498,15 @@ def field_behaviours(self) -> Dict[str, Dict]:
"""Returns dictionary with field behaviours for connection types."""
self.initialize_providers_hooks()
return self._field_behaviours
+
+ @property
+ def logging_class_names(self) -> List[str]:
+ """Returns set of log task handlers class names."""
+ self.initialize_providers_logging()
+ return sorted(self._logging_class_name_set)
+
+ @property
+ def secret_backend_class_names(self) -> List[str]:
Review comment:
```suggestion
def secrets_backend_class_names(self) -> List[str]:
```
##########
File path: airflow/providers_manager.py
##########
@@ -457,3 +498,15 @@ def field_behaviours(self) -> Dict[str, Dict]:
"""Returns dictionary with field behaviours for connection types."""
self.initialize_providers_hooks()
return self._field_behaviours
+
+ @property
+ def logging_class_names(self) -> List[str]:
+ """Returns set of log task handlers class names."""
+ self.initialize_providers_logging()
+ return sorted(self._logging_class_name_set)
+
+ @property
+ def secret_backend_class_names(self) -> List[str]:
+ """Returns set of secret backend class names."""
+ self.initialize_providers_secret_backends()
Review comment:
```suggestion
self.initialize_providers_secrets_backends()
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]