You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splitting AIRFLOW_VERSION as an arrange of Strings and comparing it like this:
if AIRFLOW_VERSION < ["2", "2", "0"]
won't work for versions 2.10.x and above as Python evaluates "10" < "2" to true. Converting the strings to integers could be the easiest way to workaround this issue.
Splitting AIRFLOW_VERSION as an arrange of Strings and comparing it like this:
if AIRFLOW_VERSION < ["2", "2", "0"]
won't work for versions 2.10.x and above as Python evaluates "10" < "2" to true. Converting the strings to integers could be the easiest way to workaround this issue.
Example line:
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/89ad8f0a27dec5f5ca888ec1e7597ecbf0888f2c/composer/workflows/airflow_db_cleanup.py#L109C6-L109C45
The text was updated successfully, but these errors were encountered: