@@ -278,7 +278,7 @@ def generate_river_client_module(
278
278
f" '{ schema_name } '," ,
279
279
f" '{ name } '," ,
280
280
" input," ,
281
- " lambda x: TypeAdapter({input_type}).dump_python(x, " ,
281
+ f " lambda x: TypeAdapter({ input_type } ).dump_python(x, " ,
282
282
" by_alias=True," ,
283
283
" exclude_none=True," ,
284
284
" )," ,
@@ -298,7 +298,7 @@ def generate_river_client_module(
298
298
f" '{ schema_name } '," ,
299
299
f" '{ name } '," ,
300
300
" input," ,
301
- " lambda x: TypeAdapter({input_type}).dump_python(x," ,
301
+ f " lambda x: TypeAdapter({ input_type } ).dump_python(x," ,
302
302
" by_alias=True," ,
303
303
" exclude_none=True," ,
304
304
" )," ,
@@ -326,8 +326,8 @@ def generate_river_client_module(
326
326
f" '{ name } '," ,
327
327
" init," ,
328
328
" inputStream," ,
329
- f" lambda TypeAdapter({ init_type } ).validate_python," ,
330
- " lambda x: TypeAdapter({input_type}).dump_python(x, " ,
329
+ f" TypeAdapter({ init_type } ).validate_python," ,
330
+ f " lambda x: TypeAdapter({ input_type } ).dump_python(x," ,
331
331
" by_alias=True," ,
332
332
" exclude_none=True," ,
333
333
" )," ,
@@ -349,7 +349,7 @@ def generate_river_client_module(
349
349
" None," ,
350
350
" inputStream," ,
351
351
" None," ,
352
- " lambda x: TypeAdapter({input_type}).dump_python(x, " ,
352
+ f " lambda x: TypeAdapter({ input_type } ).dump_python(x," ,
353
353
" by_alias=True," ,
354
354
" exclude_none=True," ,
355
355
" )," ,
@@ -373,7 +373,7 @@ def generate_river_client_module(
373
373
" init," ,
374
374
" inputStream," ,
375
375
f" TypeAdapter({ init_type } ).validate_python," ,
376
- " lambda x: TypeAdapter({init_type }).dump_python(x, " ,
376
+ f " lambda x: TypeAdapter({ input_type } ).dump_python(x," ,
377
377
" by_alias=True," ,
378
378
" exclude_none=True," ,
379
379
" )," ,
@@ -395,7 +395,7 @@ def generate_river_client_module(
395
395
" None," ,
396
396
" inputStream," ,
397
397
" None," ,
398
- " lambda x: TypeAdapter({input_type}).dump_python(x, " ,
398
+ f " lambda x: TypeAdapter({ input_type } ).dump_python(x," ,
399
399
" by_alias=True," ,
400
400
" exclude_none=True," ,
401
401
" )," ,
0 commit comments