File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,11 @@ def __init__(
130
130
if project is _marker :
131
131
project = None
132
132
133
- # Save the initial value of client_info and client_options before they
133
+ # Save the initial value of constructor arguments before they
134
134
# are passed along, for use in __reduce__ defined elsewhere.
135
135
self ._initial_client_info = client_info
136
136
self ._initial_client_options = client_options
137
+ self ._initial_credentials = credentials
137
138
138
139
kw_args = {"client_info" : client_info }
139
140
Original file line number Diff line number Diff line change @@ -879,7 +879,7 @@ def _reduce_client(cl):
879
879
880
880
client_object_id = id (cl )
881
881
project = cl .project
882
- credentials = cl ._credentials
882
+ credentials = cl ._initial_credentials
883
883
_http = None # Can't carry this over
884
884
client_info = cl ._initial_client_info
885
885
client_options = cl ._initial_client_options
You can’t perform that action at this time.
0 commit comments