We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa850a7 commit a629d87Copy full SHA for a629d87
obstore/python/obstore/store/__init__.pyi
@@ -194,4 +194,16 @@ class MemoryStore:
194
ObjectStore: TypeAlias = (
195
AzureStore | GCSStore | HTTPStore | S3Store | LocalStore | MemoryStore
196
)
197
-"""All supported ObjectStore implementations."""
+"""All supported ObjectStore implementations.
198
+
199
+!!! warning "Not importable at runtime"
200
201
+ To use this type hint in your code, import it within a `TYPE_CHECKING` block:
202
203
+ ```py
204
+ from __future__ import annotations
205
+ from typing import TYPE_CHECKING
206
+ if TYPE_CHECKING:
207
+ from obstore.store import ObjectStore
208
+ ```
209
+"""
0 commit comments