What kind of object is _input in the python node?

i’m trying to print stuff in the browser console but i’m not getting anything useful.

Here’s my workflow:

These are my print statements:

print(f">>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {type(_input)}: {_input}")
print(f"Properties available: {dir(_input)}")
print(f"Type: {_input.typeof}") 

and this is my console:

How is type of _input an Exception? Is there some sort of javascript < - > python going on? can I safely assume that _input.all() is always list of dictionaries and work with that ?

Any insights on _input is appreciated.

Additionally, what’s with the errors that say I don’t have a cloud plan? I’m running this workflow (and others) fine on the cloud plan

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Vyrus_M , indeed, Python’s _input corresponds to Javascript’s $input (the prefix _ in Python substitutes $ in Javascript). That implies that _input.all() corresponds $input.all().

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.