Skip to content

Commit a670087

Browse files
committed
revert alias key mapping.
1 parent e86ed77 commit a670087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/serializers/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ class Model:
574574
def computed_field_x(self) -> int:
575575
return self.x + 200
576576

577-
def ser_func(self, v: Any, serializer: core_schema.FieldSerializationInfo) -> str:
577+
def ser_func(self, v: Any, info: core_schema.FieldSerializationInfo) -> str:
578578
return str(v * 2)
579579

580580
field_str_with_field_serializer = core_schema.str_schema(

0 commit comments

Comments
 (0)