Skip to content

Commit

Permalink
Fixed api-quota logging message
Browse files Browse the repository at this point in the history
Updated python requirements to allow for CI pipeline build
  • Loading branch information
Luishfs committed Apr 11, 2024
1 parent caa4c9f commit f70f4ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ on:
- "source-google-sheets-native/**"
- "source-hubspot-native/**"
- "source-hubspot/**"
<<<<<<< HEAD
- "source-google-analytics-data-api/**"
=======
- "source-notion/**"
- "source-linkedin-pages/**"
>>>>>>> refs/rewritten/main
pull_request:
branches: [main]
paths:
Expand All @@ -31,12 +28,9 @@ on:
- "source-google-sheets-native/**"
- "source-hubspot-native/**"
- "source-hubspot/**"
<<<<<<< HEAD
- "source-google-analytics-data-api/**"
=======
- "source-notion/**"
- "source-linkedin-pages/**"
>>>>>>> refs/rewritten/main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -84,19 +78,16 @@ jobs:
type: capture
version: v5
usage_rate: "1.0"
<<<<<<< HEAD
- name: source-google-analytics-data-api
type: capture
version: v3
=======
- name: source-notion
type: capture
version: v2
usage_rate: "1.0"
- name: source-linkedin-pages
type: capture
version: v1
>>>>>>> refs/rewritten/main
usage_rate: "1.0"

steps:
Expand Down
2 changes: 1 addition & 1 deletion source-google-analytics-data-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = ""
authors = ["Luishfs <[email protected]>"]

[tool.poetry.dependencies]
python = ">=3.11,<=3.12.2"
python = "^3.12"
estuary-cdk = {path="../estuary-cdk", develop = true}
airbyte-cdk = "^0.52"
pydantic = "1.10.14"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ def _check_remaining_quota(self, current_quota: Mapping[str, Any]) -> None:
self._set_retry_attrs_for_quota(quota_name)
return None
else:
self.logger.warning(self.error_message)
if self.error_message is None:
pass
else:
self.logger.warning(f"{self.error_message}")

def _check_for_errors(self, response: requests.Response) -> None:
try:
Expand Down
2 changes: 0 additions & 2 deletions source-google-analytics-data-api/test.flow.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
import:
- acmeCo/flow.yaml
captures:
acmeCo/source-google-analytics-data-api:
endpoint:
Expand Down

0 comments on commit f70f4ba

Please sign in to comment.