From b33f8442778b1f064d6134f98995a3874e1dbfe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Wed, 6 Nov 2024 10:28:46 -0600 Subject: [PATCH] fix: Remove misleading replication key from `workflows` and `workflow_runs` stream (#325) Related: - Closes https://github.com/MeltanoLabs/tap-github/issues/216 --- tap_github/repository_streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tap_github/repository_streams.py b/tap_github/repository_streams.py index dcb486ca..a3b8ee67 100644 --- a/tap_github/repository_streams.py +++ b/tap_github/repository_streams.py @@ -1937,7 +1937,7 @@ class WorkflowsStream(GitHubRestStream): name = "workflows" path = "/repos/{org}/{repo}/actions/workflows" primary_keys: ClassVar[list[str]] = ["id"] - replication_key = "updated_at" + replication_key = None parent_stream_type = RepositoryStream ignore_parent_replication_key = True state_partitioning_keys: ClassVar[list[str]] = ["repo", "org"] @@ -1972,7 +1972,7 @@ class WorkflowRunsStream(GitHubRestStream): name = "workflow_runs" path = "/repos/{org}/{repo}/actions/runs" primary_keys: ClassVar[list[str]] = ["id"] - replication_key = "updated_at" + replication_key = None parent_stream_type = RepositoryStream ignore_parent_replication_key = False state_partitioning_keys: ClassVar[list[str]] = ["repo", "org"]