Skip to content

Commit 9c7decc

Browse files
Turn off default httpavailabilitystrategy for source-google-analytics-v4 (GA) (#22006)
* Turn off default for source-google-analytics-v4 (GA) * Update source.py * Update google-analytics-universal-analytics.md * Update docs/integrations/sources/google-analytics-universal-analytics.md * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 47deb48 commit 9c7decc

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@
673673
- name: Google Analytics (Universal Analytics)
674674
sourceDefinitionId: eff3616a-f9c3-11eb-9a03-0242ac130003
675675
dockerRepository: airbyte/source-google-analytics-v4
676-
dockerImageTag: 0.1.33
676+
dockerImageTag: 0.1.34
677677
documentationUrl: https://docs.airbyte.com/integrations/sources/google-analytics-universal-analytics
678678
icon: google-analytics.svg
679679
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5493,7 +5493,7 @@
54935493
oauthFlowOutputParameters:
54945494
- - "access_token"
54955495
- - "refresh_token"
5496-
- dockerImage: "airbyte/source-google-analytics-v4:0.1.33"
5496+
- dockerImage: "airbyte/source-google-analytics-v4:0.1.34"
54975497
spec:
54985498
documentationUrl: "https://docs.airbyte.com/integrations/sources/google-analytics-universal-analytics"
54995499
connectionSpecification:

airbyte-integrations/connectors/source-google-analytics-v4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ COPY main.py ./
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.1.33
15+
LABEL io.airbyte.version=0.1.34
1616
LABEL io.airbyte.name=airbyte/source-google-analytics-v4

airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/source.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from airbyte_cdk.models import SyncMode
1818
from airbyte_cdk.sources import AbstractSource
1919
from airbyte_cdk.sources.streams import Stream
20+
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
2021
from airbyte_cdk.sources.streams.http import HttpStream
2122
from airbyte_cdk.sources.streams.http.auth import Oauth2Authenticator
2223

@@ -116,6 +117,10 @@ def __init__(self, config: MutableMapping):
116117
def state_checkpoint_interval(self) -> int:
117118
return self.window_in_days
118119

120+
@property
121+
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
122+
return None
123+
119124
@staticmethod
120125
def to_datetime_str(date: datetime) -> str:
121126
"""

docs/integrations/sources/google-analytics-universal-analytics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ Incremental sync is supported only if you add `ga:date` dimension to your custom
159159

160160
| Version | Date | Pull Request | Subject |
161161
|:--------|:-----------|:---------------------------------------------------------|:---------------------------------------------------------------------------------------------|
162+
| 0.1.34 | 2023-01-27 | [22006](https://github.com/airbytehq/airbyte/pull/22006) | Set `AvailabilityStrategy` for streams explicitly to `None` |
162163
| 0.1.33 | 2022-12-23 | [20858](https://github.com/airbytehq/airbyte/pull/20858) | Fix check connection |
163164
| 0.1.32 | 2022-11-04 | [18965](https://github.com/airbytehq/airbyte/pull/18965) | Fix for `discovery` stage, when `custom_reports` are provided with single stream as `dict` |
164165
| 0.1.31 | 2022-10-30 | [18670](https://github.com/airbytehq/airbyte/pull/18670) | Add `Custom Reports` schema validation on `check connection` |

0 commit comments

Comments
 (0)