Why are Python steps in my Pipedream workflow failing with a "python components temporarily disabled" error?

This topic was automatically generated from Slack. You can find the original thread here.

I’m running into an issue with Python code steps in one of my workflows.

When I try to test/save a Python step, I get the following error:

python components temporarily disabled

[object Object]

Error: python components temporarily disabled

   at SavedComponent.create
   at async Proxy._saveComponent
   at async Proxy.refreshFields
   at async Proxy.prepare
   at async Proxy._test
   at async Proxy.executeTestPlan

I tested with a minimal Python step:

def handler(pd):
  return {"ok": True}

and it produces the same error, so it does not appear to be related to my workflow code.

One existing Python step in the same workflow is still able to run, but new or edited Python steps appear to fail when Pipedream tries to save/prepare the component.

The issue seems to be when trying to use Pipedream to access previous steps.

def handler(pd: "pipedream"):
    steps = pd.steps
    return {
        "ok": True,
        "stepNames": list(steps.keys()),
    }

Also fails

That’s related to an ongoing incident: https://status.pipedream.com/

Ahh.. ok. Thanks for confirming.