Unverified Commit 09514751 authored by Michael Poluektov's avatar Michael Poluektov Committed by GitHub
Browse files

Update main.py

parent afd74213
......@@ -834,11 +834,9 @@ def filter_pipeline(payload, user):
pass
if "pipeline" not in app.state.MODELS[model_id]:
if "title" in payload:
del payload["title"]
if "task" in payload:
del payload["task"]
for key in ["title", "task", "function"]:
if key in payload:
del payload[key]
return payload
......
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