-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
If I return a dict from python step, the code is parsed into dict instead of staying string resulting in python-step error. Happens only when test running, with manual run Run now works as intended.
To Reproduce
Steps to reproduce the behavior:
- Create workflow with the following python-step:
workflow:
id: ede4b9cd-70be-44f1-bc19-fa7f7f87323b
name: iterating twice
description: iterating twice
disabled: false
triggers:
- type: manual
inputs: []
consts: {}
owners: []
services: []
steps:
- name: python-step
provider:
type: python
config: "{{ providers.default-python }}"
with:
code: '{"users": [{"description": "first", "user": "john.doe@gmail.com"}]}'- Click on
Test Run - See error
unhashable type: 'dict'and workflow definition changed,codetransformed into a parsed yaml representation of dict.
Expected behavior
If run via Run now works just fine, code stays the string, the same should happen on test run.

dosubot
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working