This message was deleted.
# python
s
This message was deleted.
f
It's not so much silently failing as it is working as intended...
get_output
naturally returns
None
if the given key doesn't exist. If you use
require_output
, it will throw an error if the key isn't present.
Same as
my_dict.get("foo")
vs.
my_dict.require("foo")
For stack references, I don't think I ever use
get_output
, for this exact reason.
s
Ah - ok. That makes sense. Thanks @full-artist-27215 for guiding me in the right direction!
👍 1