We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2798825 commit efe72ccCopy full SHA for efe72cc
db_dtypes/__init__.py
@@ -343,13 +343,21 @@ def __sub__(self, other):
343
344
return super().__sub__(other)
345
346
-
347
-__all__ = [
348
- "__version__",
349
- "DateArray",
350
- "DateDtype",
351
- "JSONDtype",
352
- "JSONArray",
353
- "TimeArray",
354
- "TimeDtype",
355
-]
+if not JSONArray or not JSONDtype:
+ __all__ = [
+ "__version__",
+ "DateArray",
+ "DateDtype",
+ "TimeArray",
+ "TimeDtype",
+ ]
+else:
356
357
358
359
+ "JSONDtype",
360
+ "JSONArray",
361
362
363
0 commit comments