We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2526fc7 commit bb92425Copy full SHA for bb92425
1 file changed
src/replit_river/codegen/client.py
@@ -452,7 +452,7 @@ def {_field_name}(
452
encoder_parts.append((None, "x"))
453
454
# Build the ternary chain from encoder_parts
455
- typeddict_encoder: list[str] = []
+ typeddict_encoder = list[str]()
456
for i, (type_check, encoder_expr) in enumerate(encoder_parts):
457
is_last = i == len(encoder_parts) - 1
458
if is_last or type_check is None:
0 commit comments