@@ -321,7 +321,8 @@ def _asdict_with_global_options(self) -> dict:
321
321
merged_options : dict = {** global_options , ** provider_options }
322
322
323
323
if self .labels is not None and _GLOBAL_OPTIONS .labels is not None :
324
- merged_options ["labels" ] = {** _GLOBAL_OPTIONS .labels , ** self .labels }
324
+ merged_options ["labels" ] = {
325
+ ** _GLOBAL_OPTIONS .labels , ** self .labels }
325
326
if "labels" not in merged_options :
326
327
merged_options ["labels" ] = {}
327
328
preserve_external_changes : bool = merged_options .get (
@@ -464,7 +465,7 @@ def _endpoint(
464
465
_manifest .TaskQueueTrigger (
465
466
rateLimits = rate_limits ,
466
467
retryConfig = retry_config ,
467
- ),
468
+ ),
468
469
}
469
470
return _manifest .ManifestEndpoint (
470
471
** _typing .cast (_typing .Dict , kwargs_merged ))
@@ -853,7 +854,7 @@ def _endpoint(
853
854
schedule = self .schedule ,
854
855
timeZone = time_zone ,
855
856
retryConfig = retry_config ,
856
- ),
857
+ ),
857
858
}
858
859
return _manifest .ManifestEndpoint (
859
860
** _typing .cast (_typing .Dict , kwargs_merged ))
@@ -1134,7 +1135,7 @@ def _endpoint(
1134
1135
invoker = [invoker ]
1135
1136
assert len (
1136
1137
invoker
1137
- ) > 1 , "HttpsOptions: Invalid option for invoker - must be a non-empty list."
1138
+ ) >= 1 , "HttpsOptions: Invalid option for invoker - must be a non-empty list."
1138
1139
assert "" not in invoker , (
1139
1140
"HttpsOptions: Invalid option for invoker - must be a non-empty string."
1140
1141
)
0 commit comments