Skip to content

Commit

Permalink
small nit
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
  • Loading branch information
edoakes committed Oct 9, 2023
1 parent 1d17408 commit 722bbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_garbage_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class BaseModel:
def __init_subclass__(cls) -> None:
cls.__validator__ = SchemaValidator(
core_schema.model_schema(cls, GC_TEST_SCHEMA_INNER),
core_schema.CoreConfig(extra_fields_behavior='allow'),
config=core_schema.CoreConfig(extra_fields_behavior='allow'),
)

cache: 'WeakValueDictionary[int, Any]' = WeakValueDictionary()
Expand Down

0 comments on commit 722bbdf

Please sign in to comment.