Skip to content

Commit 761cb2e

Browse files
hhh
1 parent c5e05ce commit 761cb2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/replit_river/codegen/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def extract_props(tpe: RiverType) -> list[dict[str, RiverType]]:
535535
type_name, _, contents, _ = encode_type(
536536
prop,
537537
TypeName(prefix.value + name.title()),
538-
base_model,
538+
"BaseModel" if base_model == "RiverError" else base_model,
539539
in_module,
540540
permit_unknown_members=permit_unknown_members,
541541
)

0 commit comments

Comments
 (0)