We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5792fb2 commit 19cc15dCopy full SHA for 19cc15d
pandera/strategies/pandas_strategies.py
@@ -20,6 +20,7 @@
20
Any,
21
Callable,
22
Dict,
23
+ Generic,
24
List,
25
Optional,
26
Sequence,
@@ -51,8 +52,10 @@
51
52
from hypothesis.strategies import SearchStrategy, composite
53
except ImportError: # pragma: no cover
54
55
+ T = TypeVar("T")
56
+
57
# pylint: disable=too-few-public-methods
- class SearchStrategy: # type: ignore
58
+ class SearchStrategy(Generic[T]): # type: ignore
59
"""placeholder type."""
60
61
def composite(fn): # type: ignore
0 commit comments