Skip to content

Commit

Permalink
fix: TypeVar is imported from typing-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Nov 5, 2024
1 parent 97586ee commit 446ec37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/collection/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import abc
from collections.abc import Sized
from typing import Any, Callable, Generic, Iterable, Literal, Protocol, Union
from typing import Any, Callable, Generic, Iterable, Literal, Protocol, Union, TypeVar

import sqlalchemy as sa
from sqlalchemy.engine import Engine
from typing_extensions import NotRequired, TypeAlias, TypedDict, TypeVar
from typing_extensions import NotRequired, TypeAlias, TypedDict


# CollectionFactory: TypeAlias = "Callable[[str, dict[str, Any]], BaseCollection[Any]]"
Expand Down

0 comments on commit 446ec37

Please sign in to comment.