dstandish commented on code in PR #43643:
URL: https://github.com/apache/airflow/pull/43643#discussion_r1848832424
##########
airflow/models/variable.py:
##########
@@ -152,6 +152,11 @@ def get(
mask_secret(var_val, key)
return var_val
+ @staticmethod
+ @provide_session
+ def list(session: Session = None) -> list[Variable]:
Review Comment:
i'm not sure we want or need a method to list _all_ variables without any
filtering. why is this needed? i'm guessing you use it in a test or
something.... if that's true, you should just write a query in the test.
--
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]