We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc5f4b5 commit 289fb1cCopy full SHA for 289fb1c
1 file changed
autonima/models/types.py
@@ -296,6 +296,11 @@ def serialize_screening_dict(
296
screening_dict: Dict[str, Any]
297
) -> Dict[str, Any]:
298
"""Serialize a screening dict, handling CriteriaMapping objects."""
299
+ # Check if this stage is skipped
300
+ if screening_dict.get('skip_stage', False):
301
+ return {"skip_stage": True}
302
+
303
+ # Otherwise, serialize all fields
304
result = {}
305
for key, value in screening_dict.items():
306
if isinstance(value, CriteriaMapping):
0 commit comments