@@ -49,7 +49,8 @@ class AbstractOperationsClientMeta(type):
4949 _transport_registry ["rest" ] = OperationsRestTransport
5050
5151 def get_transport_class (
52- cls , label : Optional [str ] = None ,
52+ cls ,
53+ label : Optional [str ] = None ,
5354 ) -> Type [OperationsTransport ]:
5455 """Returns an appropriate transport class.
5556
@@ -165,7 +166,9 @@ def transport(self) -> OperationsTransport:
165166 return self ._transport
166167
167168 @staticmethod
168- def common_billing_account_path (billing_account : str ,) -> str :
169+ def common_billing_account_path (
170+ billing_account : str ,
171+ ) -> str :
169172 """Returns a fully-qualified billing_account string."""
170173 return "billingAccounts/{billing_account}" .format (
171174 billing_account = billing_account ,
@@ -178,9 +181,13 @@ def parse_common_billing_account_path(path: str) -> Dict[str, str]:
178181 return m .groupdict () if m else {}
179182
180183 @staticmethod
181- def common_folder_path (folder : str ,) -> str :
184+ def common_folder_path (
185+ folder : str ,
186+ ) -> str :
182187 """Returns a fully-qualified folder string."""
183- return "folders/{folder}" .format (folder = folder ,)
188+ return "folders/{folder}" .format (
189+ folder = folder ,
190+ )
184191
185192 @staticmethod
186193 def parse_common_folder_path (path : str ) -> Dict [str , str ]:
@@ -189,9 +196,13 @@ def parse_common_folder_path(path: str) -> Dict[str, str]:
189196 return m .groupdict () if m else {}
190197
191198 @staticmethod
192- def common_organization_path (organization : str ,) -> str :
199+ def common_organization_path (
200+ organization : str ,
201+ ) -> str :
193202 """Returns a fully-qualified organization string."""
194- return "organizations/{organization}" .format (organization = organization ,)
203+ return "organizations/{organization}" .format (
204+ organization = organization ,
205+ )
195206
196207 @staticmethod
197208 def parse_common_organization_path (path : str ) -> Dict [str , str ]:
@@ -200,9 +211,13 @@ def parse_common_organization_path(path: str) -> Dict[str, str]:
200211 return m .groupdict () if m else {}
201212
202213 @staticmethod
203- def common_project_path (project : str ,) -> str :
214+ def common_project_path (
215+ project : str ,
216+ ) -> str :
204217 """Returns a fully-qualified project string."""
205- return "projects/{project}" .format (project = project ,)
218+ return "projects/{project}" .format (
219+ project = project ,
220+ )
206221
207222 @staticmethod
208223 def parse_common_project_path (path : str ) -> Dict [str , str ]:
@@ -211,10 +226,14 @@ def parse_common_project_path(path: str) -> Dict[str, str]:
211226 return m .groupdict () if m else {}
212227
213228 @staticmethod
214- def common_location_path (project : str , location : str ,) -> str :
229+ def common_location_path (
230+ project : str ,
231+ location : str ,
232+ ) -> str :
215233 """Returns a fully-qualified location string."""
216234 return "projects/{project}/locations/{location}" .format (
217- project = project , location = location ,
235+ project = project ,
236+ location = location ,
218237 )
219238
220239 @staticmethod
@@ -406,12 +425,20 @@ def list_operations(
406425 )
407426
408427 # Send the request.
409- response = rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
428+ response = rpc (
429+ request ,
430+ retry = retry ,
431+ timeout = timeout ,
432+ metadata = metadata ,
433+ )
410434
411435 # This method is paged; wrap the response in a pager, which provides
412436 # an `__iter__` convenience method.
413437 response = pagers .ListOperationsPager (
414- method = rpc , request = request , response = response , metadata = metadata ,
438+ method = rpc ,
439+ request = request ,
440+ response = response ,
441+ metadata = metadata ,
415442 )
416443
417444 # Done; return the response.
@@ -459,7 +486,12 @@ def get_operation(
459486 )
460487
461488 # Send the request.
462- response = rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
489+ response = rpc (
490+ request ,
491+ retry = retry ,
492+ timeout = timeout ,
493+ metadata = metadata ,
494+ )
463495
464496 # Done; return the response.
465497 return response
@@ -506,7 +538,10 @@ def delete_operation(
506538
507539 # Send the request.
508540 rpc (
509- request , retry = retry , timeout = timeout , metadata = metadata ,
541+ request ,
542+ retry = retry ,
543+ timeout = timeout ,
544+ metadata = metadata ,
510545 )
511546
512547 def cancel_operation (
@@ -560,5 +595,8 @@ def cancel_operation(
560595
561596 # Send the request.
562597 rpc (
563- request , retry = retry , timeout = timeout , metadata = metadata ,
598+ request ,
599+ retry = retry ,
600+ timeout = timeout ,
601+ metadata = metadata ,
564602 )
0 commit comments