sparse-intern-71089
05/19/2022, 12:41 AMfull-artist-27215
05/19/2022, 2:40 PMget_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.full-artist-27215
05/19/2022, 2:43 PMmy_dict.get("foo")
vs. my_dict.require("foo")
full-artist-27215
05/19/2022, 2:44 PMget_output
, for this exact reason.square-dress-80180
05/20/2022, 7:06 PM