Commit 24c7990f authored by Michael Poluektov's avatar Michael Poluektov
Browse files

revert not delete on pipe

parent 02f242e9
...@@ -833,10 +833,7 @@ def filter_pipeline(payload, user): ...@@ -833,10 +833,7 @@ def filter_pipeline(payload, user):
else: else:
pass pass
keep_extras = ( if "pipeline" not in app.state.MODELS[model_id]:
"pipeline" in app.state.MODELS[model_id] or "pipe" in app.state.MODELS[model_id]
)
if not keep_extras:
for key in ["title", "task", "function"]: for key in ["title", "task", "function"]:
if key in payload: if key in payload:
del payload[key] del payload[key]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment