mirror of
https://github.com/quay/quay.git
synced 2025-04-18 10:44:06 +03:00
* Move truthy_bool to a neutral location. * Add dba operator migration version generation code. Change existing migrations to use an injected and wrapped op. * Generate databasemigration hints files for all existing migrations. * Reformat with black.
3 lines
100 B
Python
3 lines
100 B
Python
def truthy_bool(param):
|
|
return param not in {False, "false", "False", "0", "FALSE", "", "null"}
|