1
0
mirror of synced 2025-12-25 02:09:19 -05:00

Turn off default httpavailabilitystrategy for source-zendesk-chat (GA) (#22026)

* Turn off default for source-zendesk-chat (GA)

* Update streams.py

* Update streams.py

* Update zendesk-chat.md

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
This commit is contained in:
Ella Rohm-Ensing
2023-01-30 10:59:26 -06:00
committed by GitHub
parent b116cf2f7f
commit e136e3ce24
5 changed files with 10 additions and 4 deletions

View File

@@ -1991,7 +1991,7 @@
- name: Zendesk Chat
sourceDefinitionId: 40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4
dockerRepository: airbyte/source-zendesk-chat
dockerImageTag: 0.1.11
dockerImageTag: 0.1.12
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-chat
icon: zendesk-chat.svg
sourceType: api

View File

@@ -16157,7 +16157,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-zendesk-chat:0.1.11"
- dockerImage: "airbyte/source-zendesk-chat:0.1.12"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/zendesk-chat"
connectionSpecification:

View File

@@ -16,5 +16,5 @@ RUN pip install .
ENTRYPOINT ["python", "/airbyte/integration_code/main_dev.py"]
LABEL io.airbyte.version=0.1.11
LABEL io.airbyte.version=0.1.12
LABEL io.airbyte.name=airbyte/source-zendesk-chat

View File

@@ -9,6 +9,7 @@ from urllib.parse import parse_qs, urlparse
import pendulum
import requests
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
from airbyte_cdk.sources.streams.http import HttpStream
@@ -20,6 +21,10 @@ class Stream(HttpStream, ABC):
limit = 100
@property
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
return None
def request_kwargs(
self,
stream_state: Mapping[str, Any],

View File

@@ -77,7 +77,8 @@ The connector is restricted by Zendesk's [requests limitation](https://developer
## Changelog
| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------- |
|:--------| :--------- | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------- |
| 0.1.12 | 2023-01-27 | [22026](https://github.com/airbytehq/airbyte/pull/22026) | Set `AvailabilityStrategy` for streams explicitly to `None` |
| 0.1.11 | 2022-10-18 | [17745](https://github.com/airbytehq/airbyte/pull/17745) | Add Engagements Stream and fix infity looping |
| 0.1.10 | 2022-09-28 | [17326](https://github.com/airbytehq/airbyte/pull/17326) | Migrate to per-stream states. |
| 0.1.9 | 2022-08-23 | [15879](https://github.com/airbytehq/airbyte/pull/15879) | Corrected specification and stream schemas to support backward capability |