Skip to content

Commit

Permalink
added comment for FullRefreshJiraStream
Browse files Browse the repository at this point in the history
  • Loading branch information
darynaishchenko committed Aug 1, 2024
1 parent 0ce1e09 commit d1e45a4
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@ def read_records(self, **kwargs) -> Iterable[Mapping[str, Any]]:


class FullRefreshJiraStream(JiraStream):

"""
This is a temporary solution to avoid incorrect state handling.
See comments below for more info:
https://github.com/airbytehq/airbyte/pull/39558#discussion_r1695592075
https://github.com/airbytehq/airbyte/pull/39558#discussion_r1699539669
"""

def read_records(self, **kwargs) -> Iterable[Mapping[str, Any]]:
yield from super().read_records(**kwargs)
self.state = FULL_REFRESH_COMPLETE_STATE
Expand Down

0 comments on commit d1e45a4

Please sign in to comment.