Skip to content

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
leslievandemark committed Dec 17, 2024
1 parent 3be60d7 commit b8c8161
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tap_github/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,8 @@ def get_ordered_stream_list(currently_syncing, streams_to_sync):
return stream_list

def get_ordered_repos(state, repositories):
"""Get an ordered list of remaining repos to sync followed by synced repos.
The tap supports multiple repos, this is the previous format
of bookmarks in state, which has the stream keys under the repo:
In qcdi the stream keys need to be after bookmarks, for standardized
table level resets to occur. so, this function should be called at the
beginning of each run to ensure the state is translated to the new
format:
"""
Get an ordered list of remaining repos to sync followed by synced repos.
"""
syncing_repo = state.get("currently_syncing_repo")
if syncing_repo in repositories:
Expand Down

0 comments on commit b8c8161

Please sign in to comment.