Skip to main content

Hello.  I have a Python Code Block that is running a large call with API.  I had to break up the Code blocks due to the 30 runtime limitation.

I need to feed the entire output as a single JSON into the next code block but it doesn’t provide the entire JSON as an input and is wanting each key/value as an input.

Is there any way around this?  

I actually found a solution.

 

json.dumps() to convert the entire json output as a string.

json.loads() to convert it back in the 2nd code block after input.


I just clicked in here to say “Covert it to a string,” but it looks like you already figured that out :)