fractal-server 2.11.0a7__py3-none-any.whl → 2.11.0a8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fractal_server/__init__.py +1 -1
- fractal_server/data_migrations/2_11_0.py +10 -0
- {fractal_server-2.11.0a7.dist-info → fractal_server-2.11.0a8.dist-info}/METADATA +1 -1
- {fractal_server-2.11.0a7.dist-info → fractal_server-2.11.0a8.dist-info}/RECORD +7 -7
- {fractal_server-2.11.0a7.dist-info → fractal_server-2.11.0a8.dist-info}/LICENSE +0 -0
- {fractal_server-2.11.0a7.dist-info → fractal_server-2.11.0a8.dist-info}/WHEEL +0 -0
- {fractal_server-2.11.0a7.dist-info → fractal_server-2.11.0a8.dist-info}/entry_points.txt +0 -0
fractal_server/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__VERSION__ = "2.11.
|
1
|
+
__VERSION__ = "2.11.0a8"
|
@@ -54,6 +54,10 @@ def fix_db():
|
|
54
54
|
datasets = db.execute(stm).scalars().all()
|
55
55
|
for ds in datasets:
|
56
56
|
logger.info(f"DatasetV2[{ds.id}] START")
|
57
|
+
if ds.filters is None:
|
58
|
+
logger.info(f"DatasetV2[{ds.id}] SKIP")
|
59
|
+
continue
|
60
|
+
|
57
61
|
ds.attribute_filters, warning = dict_values_to_list(
|
58
62
|
ds.filters["attributes"],
|
59
63
|
f"Dataset[{ds.id}].filters.attributes",
|
@@ -89,6 +93,9 @@ def fix_db():
|
|
89
93
|
wftasks = db.execute(stm).scalars().all()
|
90
94
|
for wft in wftasks:
|
91
95
|
logger.info(f"WorkflowTaskV2[{wft.id}] START")
|
96
|
+
if wft.input_filters is None:
|
97
|
+
logger.info(f"WorkflowTaskV2[{wft.id}] SKIP")
|
98
|
+
continue
|
92
99
|
wft.type_filters = wft.input_filters["types"]
|
93
100
|
if wft.input_filters["attributes"]:
|
94
101
|
logger.warning(
|
@@ -122,6 +129,9 @@ def fix_db():
|
|
122
129
|
jobs = db.execute(stm).scalars().all()
|
123
130
|
for job in jobs:
|
124
131
|
logger.info(f"JobV2[{job.id}] START")
|
132
|
+
if "filters" not in job.dataset_dump.keys():
|
133
|
+
logger.info(f"JobV2[{job.id}] SKIP")
|
134
|
+
continue
|
125
135
|
job.dataset_dump["type_filters"] = job.dataset_dump["filters"][
|
126
136
|
"types"
|
127
137
|
]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
fractal_server/__init__.py,sha256=
|
1
|
+
fractal_server/__init__.py,sha256=PK0Z9wSB6mEcd2plsxYsMzHGyRVuGKRbnXG9QlxmJrI,25
|
2
2
|
fractal_server/__main__.py,sha256=D2YTmSowmXNyvqOjW_HeItCZT2UliWlySl_owicaZg0,8026
|
3
3
|
fractal_server/alembic.ini,sha256=MWwi7GzjzawI9cCAK1LW7NxIBQDUqD12-ptJoq5JpP0,3153
|
4
4
|
fractal_server/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -165,7 +165,7 @@ fractal_server/app/security/__init__.py,sha256=qn6idYgl-p5HWea0gTVnz4JnkoxGEkmQj
|
|
165
165
|
fractal_server/app/security/signup_email.py,sha256=DrL51UdTSrgjleynMD5CRZwTSOpPrZ96fasRV0fvxDE,1165
|
166
166
|
fractal_server/app/user_settings.py,sha256=OP1yiYKtPadxwM51_Q0hdPk3z90TCN4z1BLpQsXyWiU,1316
|
167
167
|
fractal_server/config.py,sha256=9rAzw7OO6ZeHEz-I8NJHuGoHf4xCHxfFLyRNZQD9ytY,27019
|
168
|
-
fractal_server/data_migrations/2_11_0.py,sha256=
|
168
|
+
fractal_server/data_migrations/2_11_0.py,sha256=yE4yPed6JtBHSs3GHcv0Bj4Zwhe5O9RtMGA6AC7OVwE,6378
|
169
169
|
fractal_server/data_migrations/README.md,sha256=_3AEFvDg9YkybDqCLlFPdDmGJvr6Tw7HRI14aZ3LOIw,398
|
170
170
|
fractal_server/data_migrations/tools.py,sha256=LeMeASwYGtEqd-3wOLle6WARdTGAimoyMmRbbJl-hAM,572
|
171
171
|
fractal_server/gunicorn_fractal.py,sha256=u6U01TLGlXgq1v8QmEpLih3QnsInZD7CqphgJ_GrGzc,1230
|
@@ -241,8 +241,8 @@ fractal_server/tasks/v2/utils_templates.py,sha256=07TZpJ0Mh_A4lXVXrrH2o1VLFFGwxe
|
|
241
241
|
fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
|
242
242
|
fractal_server/utils.py,sha256=PMwrxWFxRTQRl1b9h-NRIbFGPKqpH_hXnkAT3NfZdpY,3571
|
243
243
|
fractal_server/zip_tools.py,sha256=GjDgo_sf6V_DDg6wWeBlZu5zypIxycn_l257p_YVKGc,4876
|
244
|
-
fractal_server-2.11.
|
245
|
-
fractal_server-2.11.
|
246
|
-
fractal_server-2.11.
|
247
|
-
fractal_server-2.11.
|
248
|
-
fractal_server-2.11.
|
244
|
+
fractal_server-2.11.0a8.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
|
245
|
+
fractal_server-2.11.0a8.dist-info/METADATA,sha256=uWN7MBiLx7IeFtpLKQUFe4hx4bFUHo_KwgYkIXMpE5Q,4564
|
246
|
+
fractal_server-2.11.0a8.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
247
|
+
fractal_server-2.11.0a8.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
|
248
|
+
fractal_server-2.11.0a8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|