Skip to content

Commit a5d6724

Browse files
committed
Renamed streams to avoid 'zzz'
1 parent e2ea097 commit a5d6724

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

catalog.json

Whitespace-only changes.

tap_freshdesk/streams.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class ContactsStream(FreshdeskStream):
3333
name = "contacts"
3434

3535

36-
class TicketsSummaryStream(PagedFreshdeskStream):
37-
name = "tickets_summary"
36+
class TicketsAbridgedStream(PagedFreshdeskStream):
37+
name = "tickets_abridged"
3838
replication_key = 'updated_at'
3939

4040
def __init__(self, *args, **kwargs):
@@ -66,7 +66,7 @@ def get_child_context(self, record: dict, context: Optional[dict]) -> dict:
6666
}
6767

6868
class TicketsDetailStream(FreshdeskStream):
69-
name = 'zzzz_tickets_detail' # needs the z's to run AFTER ticket_summary
69+
name = 'tickets_detail' # needs the z's to run AFTER ticket_summary
7070

7171
def __init__(self, *args, **kwargs):
7272
self.ticket_ids: set = kwargs.pop('ticket_ids')

tap_freshdesk/tap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def discover_streams(self) -> list[streams.FreshdeskStream]:
6464
streams.TicketFieldsStream(self),
6565
streams.GroupsStream(self),
6666
streams.ContactsStream(self),
67-
streams.TicketsSummaryStream(tap=self, ticket_ids=_ticket_ids),
67+
streams.TicketsAbridgedStream(tap=self, ticket_ids=_ticket_ids),
6868
streams.TicketsDetailStream(tap=self, ticket_ids=_ticket_ids),
6969
streams.ConversationsStream(self),
7070
]

0 commit comments

Comments
 (0)