Skip to content

Commit

Permalink
remove parent field (#11671)
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda authored Apr 2, 2022
1 parent e9946c9 commit 73b88de
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ class SourceZendeskSupportStream(BaseSourceZendeskSupportStream):
cursor_field = "updated_at"

response_list_name: str = None
parent: "SourceZendeskSupportStream" = None
future_requests: deque = None

transformer = TypeTransformer(TransformConfig.DefaultSchemaNormalization)
Expand Down Expand Up @@ -440,7 +439,7 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp


class Users(SourceZendeskSupportStream):
"""Users stream: https://developer.zendesk.com/api-reference/ticketing/ticket-management/incremental_exports/"""
"""Users stream: https://developer.zendesk.com/api-reference/ticketing/users/users/"""


class Organizations(SourceZendeskSupportStream):
Expand Down Expand Up @@ -523,7 +522,6 @@ class Macros(SourceZendeskSupportStream):
class TicketAudits(SourceZendeskSupportCursorPaginationStream):
"""TicketAudits stream: https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/"""

parent = Tickets
# can request a maximum of 1,000 results
page_size = 1000
# ticket audits doesn't have the 'updated_by' field
Expand Down

0 comments on commit 73b88de

Please sign in to comment.