Skip to content

Commit

Permalink
fix: put _DataframeInfos and _ArrowInfos under TYPE_CHECKING block
Browse files Browse the repository at this point in the history
  • Loading branch information
zen-xu committed Apr 19, 2024
1 parent a336e00 commit 7158e80
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions connectorx-python/connectorx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
partition_sql as _partition_sql,
read_sql2 as _read_sql2,
get_meta as _get_meta,
_DataframeInfos,
_ArrowInfos,
)

if TYPE_CHECKING:
Expand All @@ -21,6 +19,10 @@
import dask.dataframe as dd
import pyarrow as pa

# only for typing hints
from .connectorx import _DataframeInfos, _ArrowInfos


__version__ = version(__name__)

import os
Expand Down

0 comments on commit 7158e80

Please sign in to comment.