Skip to content

Commit e6098a1

Browse files
🐛 Source Zendesk Support: Fix long-running syncs for Ticket Metrics, Ticket Audits and Satisfaction Ratings streams. (#36897)
1 parent a6ed2ac commit e6098a1

File tree

7 files changed

+347
-168
lines changed

7 files changed

+347
-168
lines changed

airbyte-integrations/connectors/source-zendesk-support/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: 79c1aa37-dae3-42ae-b333-d1c105477715
14-
dockerImageTag: 2.3.0
14+
dockerImageTag: 2.4.0
1515
dockerRepository: airbyte/source-zendesk-support
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-support
1717
githubIssueLabel: source-zendesk-support

airbyte-integrations/connectors/source-zendesk-support/poetry.lock

+44-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-zendesk-support/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "2.3.0"
6+
version = "2.4.0"
77
name = "source-zendesk-support"
88
description = "Source implementation for Zendesk Support."
99
authors = [ "Airbyte <[email protected]>",]

airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/source.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
142142
:param config: A Mapping of the user input configuration as defined in the connector spec.
143143
"""
144144
args = self.convert_config2stream_args(config)
145+
146+
tickets = Tickets(**args)
147+
145148
streams = [
146149
Articles(**args),
147150
ArticleComments(**args),
@@ -164,10 +167,10 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
164167
TicketAudits(**args),
165168
TicketComments(**args),
166169
TicketFields(**args),
167-
TicketMetrics(**args),
170+
TicketMetrics(parent=tickets, **args),
168171
TicketMetricEvents(**args),
169172
TicketSkips(**args),
170-
Tickets(**args),
173+
tickets,
171174
Topics(**args),
172175
Users(**args),
173176
Brands(**args),

0 commit comments

Comments
 (0)