Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicBboy committed Apr 29, 2022
1 parent f302b5a commit 9c5eaa3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pandera/typing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
the typing module.
"""

from typing import Set, Type

from . import dask, fastapi, geopandas, modin, pyspark
from .common import (
BOOL,
Expand Down Expand Up @@ -39,9 +41,9 @@
)
from .pandas import DataFrame, Index, Series

DATAFRAME_TYPES = {DataFrame}
SERIES_TYPES = {Series}
INDEX_TYPES = {Index}
DATAFRAME_TYPES: Set[Type] = {DataFrame}
SERIES_TYPES: Set[Type] = {Series}
INDEX_TYPES: Set[Type] = {Index}

if dask.DASK_INSTALLED:
DATAFRAME_TYPES.update({dask.DataFrame})
Expand Down

0 comments on commit 9c5eaa3

Please sign in to comment.