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 b1c5987 commit b9e2ab5Copy full SHA for b9e2ab5
1 file changed
google/cloud/firestore_v1beta1/__init__.py
@@ -15,6 +15,7 @@
15
"""Python idiomatic client for Google Cloud Firestore."""
16
17
from pkg_resources import get_distribution
18
+import warnings
19
20
__version__ = get_distribution("google-cloud-firestore").version
21
@@ -40,6 +41,13 @@
40
41
from google.cloud.firestore_v1beta1.watch import Watch
42
43
44
+_V1BETA1_DEPRECATED_MESSAGE = (
45
+ "The 'v1beta1' API endpoint is deprecated. "
46
+ "The client/library which supports it will be removed in a future release."
47
+)
48
+warnings.warn(_V1BETA1_DEPRECATED_MESSAGE, DeprecationWarning)
49
+
50
51
__all__ = [
52
"__version__",
53
"ArrayRemove",
0 commit comments