Update connector.py

This commit is contained in:
hagen-danswer 2024-11-01 19:27:03 -07:00 committed by GitHub
parent e3be318781
commit f981106111
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,10 +129,10 @@ class FreshdeskConnector(PollConnector, LoadConnector):
def _fetch_tickets(
self, start: datetime | None = None, end: datetime | None = None
) -> Iterator[List[dict]]:
"""
"""
'end' is not currently used, so we may double fetch tickets created after the indexing
starts but before the actual call is made.
To use 'end' would require us to use the search endpoint but it has limitations,
namely having to fetch all IDs and then individually fetch each ticket because there is no
'include' field available for this endpoint: