You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: for backwards compatibility, expose legacy retry imports (#577)
This exposes the legacy google imports that were previously exposed by this package, even though they are not needed now. (Note that standard imports that are no longer needed are NOT exposed; they should be imported directly.)
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: google/api_core/retry/__init__.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
# Copyright 2017 Google LLC
2
-
3
2
#
4
3
# Licensed under the Apache License, Version 2.0 (the "License");
5
4
# you may not use this file except in compliance with the License.
@@ -29,6 +28,13 @@
29
28
from .retry_streaming_asyncimportAsyncStreamingRetry
30
29
from .retry_streaming_asyncimportretry_target_streamasretry_target_stream_async
31
30
31
+
# The following imports are for backwards compatibility with https://github.com/googleapis/python-api-core/blob/4d7d2edee2c108d43deb151e6e0fdceb56b73275/google/api_core/retry.py
32
+
#
33
+
# TODO: Revert these imports on the next major version release (https://github.com/googleapis/python-api-core/issues/576)
0 commit comments