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 2020/11/28 15:49:26 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #12687: Adds providers information to `airflow info` command

turbaszek commented on a change in pull request #12687:
URL: https://github.com/apache/airflow/pull/12687#discussion_r532053928



##########
File path: airflow/cli/commands/info_command.py
##########
@@ -279,6 +285,21 @@ def __str__(self):
         )
 
 
+class ProvidersInfo:
+    """providers information"""
+
+    def __str__(self):
+
+        tabulate_data = [
+            {
+                'Provider name': provider['package-name'],
+                'Version': provider['versions'][0],
+            }
+            for version, provider in ProvidersManager().providers.values()

Review comment:
       @XD-DENG I'm working on this




----------------------------------------------------------------
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.

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