Update Mypy so I can use PEP 695 type param syntax

This commit is contained in:
Danielle McLean 2024-07-30 10:09:33 +10:00
parent 3ef3112014
commit 452867699e
Signed by: 00dani
GPG key ID: 6854781A0488421C
10 changed files with 53 additions and 52 deletions

View file

@ -1,7 +1,3 @@
from typing import Generic, TypeVar
T = TypeVar("T")
class BaseCache(Generic[T]):
class BaseCache[T]:
@staticmethod
def parse_uri_path(path: str) -> dict[str, str]: ...