Skip to content

Commit 1e1f8f0

Browse files
fix: ruff format for scopes_join_strategy condition
Co-Authored-By: aldo.gonzalez@airbyte.io <aldo.gonzalez@airbyte.io>
1 parent 8bb404a commit 1e1f8f0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • airbyte_cdk/sources/declarative/spec

airbyte_cdk/sources/declarative/spec/spec.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ def generate_spec(self) -> ConnectorSpecification:
5959
oauth_spec = getattr(self.advanced_auth, "oauth_config_specification", None)
6060
if oauth_spec:
6161
oauth_input = getattr(oauth_spec, "oauth_connector_input_specification", None)
62-
if oauth_input and hasattr(oauth_input, "scopes_join_strategy") and oauth_input.scopes_join_strategy is not None:
62+
if (
63+
oauth_input
64+
and hasattr(oauth_input, "scopes_join_strategy")
65+
and oauth_input.scopes_join_strategy is not None
66+
):
6367
oauth_input.scopes_join_strategy = oauth_input.scopes_join_strategy.value # type: ignore
6468
# Map CDK AuthFlow model to protocol AdvancedAuth model
6569
obj["advanced_auth"] = self.advanced_auth.dict()

0 commit comments

Comments
 (0)