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
chore: fix pylint error in async rest transport (#16876)
Fixes#16863.
`pylint` was recently enabled in
#16808. This error
`used-before-assignment` did not appear in
#16808, but failed
consistently as per
#16863.
Copy file name to clipboardExpand all lines: packages/gapic-generator/tests/integration/goldens/redis/google/cloud/redis_v1/services/cloud_redis/client.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@
61
61
from .transports.grpcimportCloudRedisGrpcTransport
62
62
from .transports.grpc_asyncioimportCloudRedisGrpcAsyncIOTransport
63
63
from .transports.restimportCloudRedisRestTransport
64
+
ASYNC_REST_EXCEPTION=None
64
65
try:
65
66
from .transports.rest_asyncioimportAsyncCloudRedisRestTransport
Copy file name to clipboardExpand all lines: packages/gapic-generator/tests/integration/goldens/redis_selective/google/cloud/redis_v1/services/cloud_redis/client.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@
61
61
from .transports.grpcimportCloudRedisGrpcTransport
62
62
from .transports.grpc_asyncioimportCloudRedisGrpcAsyncIOTransport
63
63
from .transports.restimportCloudRedisRestTransport
64
+
ASYNC_REST_EXCEPTION=None
64
65
try:
65
66
from .transports.rest_asyncioimportAsyncCloudRedisRestTransport
0 commit comments