Skip to content

Commit b116cf2

Browse files
Turn off default httpavailabilitystrategy for source-surveymonkey (GA) (#22024)
* Turn off default for source-surveymonkey (GA) * Update streams.py * Update streams.py * Update surveymonkey.md * Update surveymonkey.md * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 372e1ee commit b116cf2

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
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
@@ -1720,7 +1720,7 @@
17201720
- name: SurveyMonkey
17211721
sourceDefinitionId: badc5925-0485-42be-8caa-b34096cb71b5
17221722
dockerRepository: airbyte/source-surveymonkey
1723-
dockerImageTag: 0.1.13
1723+
dockerImageTag: 0.1.14
17241724
documentationUrl: https://docs.airbyte.com/integrations/sources/surveymonkey
17251725
icon: surveymonkey.svg
17261726
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
@@ -14521,7 +14521,7 @@
1452114521
supportsNormalization: false
1452214522
supportsDBT: false
1452314523
supported_destination_sync_modes: []
14524-
- dockerImage: "airbyte/source-surveymonkey:0.1.13"
14524+
- dockerImage: "airbyte/source-surveymonkey:0.1.14"
1452514525
spec:
1452614526
documentationUrl: "https://docs.airbyte.com/integrations/sources/surveymonkey"
1452714527
connectionSpecification:

airbyte-integrations/connectors/source-surveymonkey/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
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.13
15+
LABEL io.airbyte.version=0.1.14
1616
LABEL io.airbyte.name=airbyte/source-surveymonkey

airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/streams.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import requests
1212
import vcr
1313
from airbyte_cdk.models import SyncMode
14+
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
1415
from airbyte_cdk.sources.streams.http import HttpStream
1516

1617
cache_file = tempfile.NamedTemporaryFile()
@@ -27,6 +28,10 @@ def __init__(self, start_date: pendulum.datetime, survey_ids: List[str], **kwarg
2728
self._start_date = start_date
2829
self._survey_ids = survey_ids
2930

31+
@property
32+
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
33+
return None
34+
3035
def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]:
3136
resp_json = response.json()
3237
links = resp_json.get("links", {})

docs/integrations/sources/surveymonkey.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ To cover more data from this source we use caching.
6464
## Changelog
6565

6666
| Version | Date | Pull Request | Subject |
67-
| :------ | :--------- | :------------------------------------------------------- | :--------------------------------------------------------------------- |
67+
|:--------| :--------- | :------------------------------------------------------- | :--------------------------------------------------------------------- |
68+
| 0.1.14 | 2023-01-27 | [22024](https://github.com/airbytehq/airbyte/pull/22024) | Set `AvailabilityStrategy` for streams explicitly to `None` |
6869
| 0.1.13 | 2022-11-29 | [19868](https://github.com/airbytehq/airbyte/pull/19868) | Fix OAuth flow urls |
6970
| 0.1.12 | 2022-10-13 | [17964](https://github.com/airbytehq/airbyte/pull/17964) | Add OAuth for Eu and Ca |
7071
| 0.1.11 | 2022-09-28 | [17326](https://github.com/airbytehq/airbyte/pull/17326) | Migrate to per-stream states. |

0 commit comments

Comments
 (0)