🐛 Fix Pydantic breaking changes
This commit is contained in:
@@ -15,12 +15,12 @@ from classquiz.kahoot_importer import _Entity
|
||||
class _Response(BaseModel):
|
||||
entities: List[_Entity]
|
||||
totalHits: int
|
||||
cursor: int | None
|
||||
cursor: int | None = None
|
||||
pageTimestamp: int
|
||||
|
||||
|
||||
async def search(
|
||||
query: str | None,
|
||||
query: str | None = None,
|
||||
limit: int | None = 9,
|
||||
cursor: int | None = 1,
|
||||
search_cluster: int | None = 1,
|
||||
|
||||
Reference in New Issue
Block a user