Closed goodoldneon closed 1 month ago
Fix a type error when returning TypedDict in a step or function.
TypedDict
This happened because our JSON type contains Mapping[str, "JSON"] (it's recursive), but TypedDict is compatible with Mapping[str, object]
JSON
Mapping[str, "JSON"]
Mapping[str, object]
Fix a type error when returning
TypedDict
in a step or function.This happened because our
JSON
type containsMapping[str, "JSON"]
(it's recursive), butTypedDict
is compatible withMapping[str, object]