Skip to content

Commit 3c8dbe1

Browse files
Turn off default httpavailabilitystrategy for source-zendesk-talk (GA) (#22028)
* Turn off default for source-zendesk-talk (GA) * Update streams.py * Update streams.py * Update zendesk-talk.md * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 507b6cb commit 3c8dbe1

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
@@ -2023,7 +2023,7 @@
20232023
- name: Zendesk Talk
20242024
sourceDefinitionId: c8630570-086d-4a40-99ae-ea5b18673071
20252025
dockerRepository: airbyte/source-zendesk-talk
2026-
dockerImageTag: 0.1.5
2026+
dockerImageTag: 0.1.6
20272027
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-talk
20282028
icon: zendesk-talk.svg
20292029
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
@@ -16559,7 +16559,7 @@
1655916559
path_in_connector_config:
1656016560
- "credentials"
1656116561
- "client_secret"
16562-
- dockerImage: "airbyte/source-zendesk-talk:0.1.5"
16562+
- dockerImage: "airbyte/source-zendesk-talk:0.1.6"
1656316563
spec:
1656416564
documentationUrl: "https://docs.airbyte.com/integrations/sources/zendesk-talk"
1656516565
connectionSpecification:

airbyte-integrations/connectors/source-zendesk-talk/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.5
15+
LABEL io.airbyte.version=0.1.6
1616
LABEL io.airbyte.name=airbyte/source-zendesk-talk

airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/streams.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import pendulum as pendulum
1212
import requests
13+
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
1314
from airbyte_cdk.sources.streams.http import HttpStream
1415

1516

@@ -33,6 +34,10 @@ def url_base(self) -> str:
3334
"""API base url based on configured subdomain"""
3435
return f"https://{self._subdomain}.zendesk.com/api/v2/channels/voice/"
3536

37+
@property
38+
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
39+
return None
40+
3641
def backoff_time(self, response: requests.Response) -> Optional[float]:
3742
"""
3843
Override this method to dynamically determine backoff time e.g: by reading the X-Retry-After header.

docs/integrations/sources/zendesk-talk.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ The Zendesk connector should not run into Zendesk API limitations under normal u
7676

7777
| Version | Date | Pull Request | Subject |
7878
|:--------|:-----------| :----- |:----------------------------------|
79+
| `0.1.6` | 2023-01-27 | [22028](https://github.com/airbytehq/airbyte/pull/22028) | Set `AvailabilityStrategy` for streams explicitly to `None` |
7980
| `0.1.5` | 2022-09-29 | [17362](https://github.com/airbytehq/airbyte/pull/17362) | always use the latest CDK version |
8081
| `0.1.4` | 2022-08-19 | [15764](https://github.com/airbytehq/airbyte/pull/15764) | Support OAuth2.0 |
8182
| `0.1.3` | 2021-11-11 | [7173](https://github.com/airbytehq/airbyte/pull/7173) | Fix pagination and migrate to CDK |

0 commit comments

Comments
 (0)