Exemple #1
0
 def spec(self, *args, **kwargs) -> ConnectorSpecification:
     return ConnectorSpecification(
         documentationUrl=
         "https://docs.airbyte.io/integrations/sources/lever-hiring",
         changelogUrl=
         "https://docs.airbyte.io/integrations/sources/lever-hiring#changelog",
         connectionSpecification=ConnectorConfig.schema(),
         authSpecification=AuthSpecification(
             auth_type="oauth2.0",
             oauth2Specification=OAuth2Specification(
                 oauthFlowInitParameters=[["client_id"], ["client_secret"],
                                          ["refresh_token"]]),
         ),
     )
Exemple #2
0
 def spec(self, *args, **kwargs) -> ConnectorSpecification:
     """
     Returns the spec for this integration. The spec is a JSON-Schema object describing the required configurations (e.g: username and password)
     required to run this integration.
     """
     return ConnectorSpecification(
         documentationUrl="https://docs.airbyte.io/integrations/sources/facebook-marketing",
         changelogUrl="https://docs.airbyte.io/integrations/sources/facebook-marketing",
         supportsIncremental=True,
         supported_destination_sync_modes=[DestinationSyncMode.append],
         connectionSpecification=expand_local_ref(ConnectorConfig.schema()),
         authSpecification=AuthSpecification(
             auth_type="oauth2.0",
             oauth2Specification=OAuth2Specification(
                 rootObject=[], oauthFlowInitParameters=[], oauthFlowOutputParameters=[["access_token"]]
             ),
         ),
     )