File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed
tests/test_loaders_dumpers/models Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ class WeakRefShimBaseModel(BaseModel):
1313 __slots__ = '__weakref__'
1414
1515class ConfiguredBaseModel (WeakRefShimBaseModel ):
16- validate_assignment : bool = True
17- validate_all : bool = True
18- underscore_attrs_are_private : bool = True
19- extra : str = 'forbid'
20- arbitrary_types_allowed : bool = True
21- use_enum_values : bool = True
16+ __signature__ = {
17+ "validate_assignment" : True ,
18+ "validate_all" : True ,
19+ "underscore_attrs_are_private" : True ,
20+ "extra" : 'forbid' ,
21+ "arbitrary_types_allowed" : True ,
22+ "use_enum_values" : True
23+ }
2224
2325
2426class GenreEnum (str , Enum ):
Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ class WeakRefShimBaseModel(BaseModel):
1313 __slots__ = '__weakref__'
1414
1515class ConfiguredBaseModel (WeakRefShimBaseModel ):
16- validate_assignment : bool = True
17- validate_all : bool = True
18- underscore_attrs_are_private : bool = True
19- extra : str = 'forbid'
20- arbitrary_types_allowed : bool = True
21- use_enum_values : bool = True
16+ __signature__ = {
17+ "validate_assignment" : True ,
18+ "validate_all" : True ,
19+ "underscore_attrs_are_private" : True ,
20+ "extra" : 'forbid' ,
21+ "arbitrary_types_allowed" : True ,
22+ "use_enum_values" : True
23+ }
2224
2325
2426class FamilialRelationshipType (str , Enum ):
You can’t perform that action at this time.
0 commit comments