uranusjr commented on a change in pull request #21658:
URL: https://github.com/apache/airflow/pull/21658#discussion_r809736263
##########
File path: airflow/models/pool.py
##########
@@ -84,6 +84,18 @@ def get_default_pool(session: Session = NEW_SESSION):
"""
return Pool.get_pool(Pool.DEFAULT_POOL_NAME, session=session)
+ @staticmethod
+ @provide_session
+ def is_default_pool(id: str, session: Session = NEW_SESSION):
Review comment:
This doesn’t look right? `id` is an integer at the database level, not a
`str`.
--
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]