Skip to content

Commit

Permalink
Pydantic 2 warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Nov 5, 2023
1 parent 2337dc2 commit 276f3b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions seplis_play_server/schemas.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from pydantic import BaseModel, ConfigDict, conint
from pydantic.generics import GenericModel
from typing import Literal, TypeVar, Generic
import datetime

Expand All @@ -18,7 +17,7 @@ class Play_server_movie_create(BaseModel):
T = TypeVar('T')


class Page_cursor_result(GenericModel, Generic[T]):
class Page_cursor_result(BaseModel, Generic[T]):
items: list[T]
cursor: str | None = None

Expand Down

0 comments on commit 276f3b7

Please sign in to comment.