Skip to content

Commit

Permalink
style: fix overload and cli autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
jina-bot committed Jan 16, 2024
1 parent 8a48521 commit d0ccb57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jina/serve/executors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@ def _validate_csp(self):
if (
not hasattr(self, 'runtime_args')
or not hasattr(self.runtime_args, 'provider')
or self.runtime_args.provider not in (ProviderType.SAGEMAKER.value, ProviderType.GCP.value)
or self.runtime_args.provider
not in (ProviderType.SAGEMAKER.value, ProviderType.GCP.value)
):
return

Expand Down

0 comments on commit d0ccb57

Please sign in to comment.