Skip to content

Commit 27020e7

Browse files
committed
added advanced_auth
1 parent 7f99a15 commit 27020e7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

airbyte-integrations/connectors/source-square/source_square/source.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ def parse_square_error_response(error: requests.exceptions.HTTPError) -> SquareE
3838

3939

4040
class SquareStream(HttpStream, ABC):
41-
def __init__(self, is_sandbox: bool, api_version: str, start_date: str, include_deleted_objects: bool, authenticator: Union[AuthBase, HttpAuthenticator]):
41+
def __init__(
42+
self,
43+
is_sandbox: bool,
44+
api_version: str,
45+
start_date: str,
46+
include_deleted_objects: bool,
47+
authenticator: Union[AuthBase, HttpAuthenticator],
48+
):
4249
super().__init__(authenticator)
4350
self._authenticator = authenticator
4451
self.is_sandbox = is_sandbox

airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SquareOAuthFlow.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected String formatConsentUrl(final UUID definitionId,
5757
}
5858

5959
@Override
60-
protected String getAccessTokenUrl() {
60+
protected String getAccessTokenUrl(final JsonNode inputOAuthConfiguration) {
6161
return ACCESS_TOKEN_URL;
6262
}
6363

0 commit comments

Comments
 (0)