mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 07:05:36 +01:00
Add linters configs
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
from typing import Protocol, TypeVar, Any, Generic, Sequence, runtime_checkable
|
||||
|
||||
from pydantic import conint
|
||||
|
||||
from fastapi_pagination import Page, Params
|
||||
from fastapi_pagination.bases import AbstractParams
|
||||
from pydantic import conint
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
@@ -12,7 +11,7 @@ class ToDict(Protocol):
|
||||
...
|
||||
|
||||
|
||||
T = TypeVar('T', ToDict, Any)
|
||||
T = TypeVar("T", ToDict, Any)
|
||||
|
||||
|
||||
class CustomPage(Page[T], Generic[T]):
|
||||
|
||||
Reference in New Issue
Block a user