We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502278f commit 23c556dCopy full SHA for 23c556d
replit_river/codegen/client.py
@@ -831,9 +831,12 @@ def __init__(self, client: river.Client[Any]):
831
exclude_none=True,
832
)
833
"""
834
- if isinstance(
835
- procedure.input, RiverConcreteType
836
- ) and procedure.input.type not in ["object", "array"]:
+ if (
+ (isinstance(procedure.input, RiverConcreteType)
+ and procedure.input.type not in ["object", "array"])
837
+ or isinstance(procedure.input, RiverNotType)
838
+ or procedure.input is None
839
+ ):
840
render_input_method = "lambda x: x"
841
842
assert (
0 commit comments