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/01/15 17:07:33 UTC
[GitHub] [airflow] mik-laj commented on a change in pull request #7172:
[AIRFLOW-6564] Additional diagnostics information on CI check failure
mik-laj commented on a change in pull request #7172: [AIRFLOW-6564] Additional diagnostics information on CI check failure
URL: https://github.com/apache/airflow/pull/7172#discussion_r366997311
##########
File path: airflow/utils/db.py
##########
@@ -501,3 +501,13 @@ def resetdb():
Base.metadata.drop_all(connection) # pylint: disable=no-member
initdb()
+
+
+@provide_session
+def check(session=None):
+ """
+ Checks if the database works.
+ @param session: session of the sqlalchemy
Review comment:
```suggestion
:param session: session of the sqlalchemy
```
----------------------------------------------------------------
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
With regards,
Apache Git Services