Skip to content

Commit 802d77d

Browse files
committed
ci: fix mypy
1 parent 743843c commit 802d77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tortoise/contrib/pydantic/creator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def pydantic_queryset_creator(
488488
model = create_model(
489489
lname,
490490
__base__=PydanticListModel,
491-
root=(List[submodel], Field(default_factory=list)),
491+
root=(List[submodel], Field(default_factory=list)), # type: ignore
492492
)
493493
# Copy the Model docstring over
494494
model.__doc__ = _cleandoc(cls)

0 commit comments

Comments
 (0)