Skip to content

Commit

Permalink
šŸ› Source Stripe: fix taxes-related tables in CheckoutSessionsLineItemā€¦
Browse files Browse the repository at this point in the history
ā€¦s + delete redundant secret key validation (#8182)
  • Loading branch information
grkhr authored Nov 24, 2021
1 parent 96581f1 commit dae0d77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-stripe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.23
LABEL io.airbyte.version=0.1.24
LABEL io.airbyte.name=airbyte/source-stripe
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"properties": {
"client_secret": {
"type": "string",
"pattern": "^(s|r)k_(live|test)_[a-zA-Z0-9]+$",
"description": "Stripe API key (usually starts with 'sk_live_'; find yours <a href=\"https://dashboard.stripe.com/apikeys\">here</a>).",
"airbyte_secret": true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def read_records(self, stream_slice: Optional[Mapping[str, Any]] = None, **kwarg

def request_params(self, stream_slice: Mapping[str, Any] = None, **kwargs):
params = super().request_params(stream_slice=stream_slice, **kwargs)
params["expand[]"] = "data.discounts"
params["expand[]"] = ["data.discounts", "data.taxes"]
return params

def parse_response(self, response: requests.Response, stream_slice: Mapping[str, Any] = None, **kwargs) -> Iterable[Mapping]:
Expand Down

0 comments on commit dae0d77

Please sign in to comment.