We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bb404a commit 1e1f8f0Copy full SHA for 1e1f8f0
1 file changed
airbyte_cdk/sources/declarative/spec/spec.py
@@ -59,7 +59,11 @@ def generate_spec(self) -> ConnectorSpecification:
59
oauth_spec = getattr(self.advanced_auth, "oauth_config_specification", None)
60
if oauth_spec:
61
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:
+ if (
63
+ oauth_input
64
+ and hasattr(oauth_input, "scopes_join_strategy")
65
+ and oauth_input.scopes_join_strategy is not None
66
+ ):
67
oauth_input.scopes_join_strategy = oauth_input.scopes_join_strategy.value # type: ignore
68
# Map CDK AuthFlow model to protocol AdvancedAuth model
69
obj["advanced_auth"] = self.advanced_auth.dict()
0 commit comments