Skip to content

Commit

Permalink
fix: work around mypy's partial plugin being shit
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceAesth committed Aug 17, 2024
1 parent bb99e72 commit a533b8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiosu/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

from __future__ import annotations

from collections.abc import Coroutine
from collections.abc import Awaitable
from datetime import datetime
from functools import cached_property
from functools import partial
from typing import Callable
from typing import Literal
from typing import Optional

Expand Down Expand Up @@ -135,7 +135,7 @@ class CursorModel(BaseModel):
"""

cursor_string: Optional[str] = None
next: Optional[partial[Coroutine[object, object, CursorModel]]] = Field(
next: Optional[Callable[[object, object], Awaitable[CursorModel]]] = Field(
default=None,
exclude=True,
)
Expand Down

0 comments on commit a533b8b

Please sign in to comment.