Skip to content

Commit fe2ae98

Browse files
Turn off default httpavailabilitystrategy for source-amazon-ads (GA) (#22038)
* Turn off default for source-amazon-ads (GA) * update import * Update Dockerfile * Update amazon-ads.md * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 57dffd6 commit fe2ae98

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
@@ -57,7 +57,7 @@
5757
- name: Amazon Ads
5858
sourceDefinitionId: c6b0a29e-1da9-4512-9002-7bfd0cba2246
5959
dockerRepository: airbyte/source-amazon-ads
60-
dockerImageTag: 0.1.28
60+
dockerImageTag: 0.1.29
6161
documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-ads
6262
icon: amazonads.svg
6363
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
@@ -804,7 +804,7 @@
804804
supportsNormalization: false
805805
supportsDBT: false
806806
supported_destination_sync_modes: []
807-
- dockerImage: "airbyte/source-amazon-ads:0.1.28"
807+
- dockerImage: "airbyte/source-amazon-ads:0.1.29"
808808
spec:
809809
documentationUrl: "https://docs.airbyte.com/integrations/sources/amazon-ads"
810810
connectionSpecification:

airbyte-integrations/connectors/source-amazon-ads/Dockerfile

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

1515

16-
LABEL io.airbyte.version=0.1.28
16+
LABEL io.airbyte.version=0.1.29
1717
LABEL io.airbyte.name=airbyte/source-amazon-ads

airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/common.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional
88

99
import requests
10+
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
1011
from airbyte_cdk.sources.streams.core import Stream
1112
from airbyte_cdk.sources.streams.http import HttpStream
1213
from airbyte_cdk.sources.utils.schema_helpers import expand_refs
@@ -90,6 +91,10 @@ def get_json_schema(self):
9091
expand_refs(schema)
9192
return schema
9293

94+
@property
95+
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
96+
return None
97+
9398

9499
# Basic full refresh stream
95100
class AmazonAdsStream(HttpStream, BasicAmazonAdsStream):

docs/integrations/sources/amazon-ads.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Information about expected report generation waiting time you may find [here](ht
9494

9595
| Version | Date | Pull Request | Subject |
9696
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------|
97+
| 0.1.29 | 2023-01-27 | [22038](https://github.com/airbytehq/airbyte/pull/22038) | Set `AvailabilityStrategy` for streams explicitly to `None` |
9798
| 0.1.28 | 2023-01-18 | [19491](https://github.com/airbytehq/airbyte/pull/19491) | Add option to customize look back window value
9899
| 0.1.27 | 2023-01-05 | [21082](https://github.com/airbytehq/airbyte/pull/21082) | Fix bug with handling: "Report date is too far in the past." - partial revert of #20662 |
99100
| 0.1.26 | 2022-12-19 | [20662](https://github.com/airbytehq/airbyte/pull/20662) | Fix bug with handling: "Report date is too far in the past." |

0 commit comments

Comments
 (0)