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 d3bf487 commit 2241b8dCopy full SHA for 2241b8d
src/replit_river/codegen/client.py
@@ -496,8 +496,8 @@ def extract_props(tpe: RiverType) -> list[dict[str, RiverType]]:
496
typeddict_encoder.append("None")
497
return (NoneTypeExpr(), [], [], set())
498
elif type.type == "Date":
499
- typeddict_encoder.append("TODO: dstewart")
500
- return (LiteralType("datetime.datetime"), [], [], set())
+ typeddict_encoder.append("datetime.datetime")
+ return (LiteralTypeExpr("datetime.datetime"), [], [], set())
501
elif type.type == "array" and type.items:
502
type_name, module_info, type_chunks, encoder_names = encode_type(
503
type.items,
0 commit comments