From ba25c4f21eb045fee272c4f400540e5693c6aabe Mon Sep 17 00:00:00 2001 From: Braedon Leonard Date: Tue, 16 Jul 2024 12:24:29 -0400 Subject: [PATCH] fix: Fix issue with the repo_id type for user streams being incorrect (#255) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The schema would report repo_id as a string, which caused validation errors when running since repo_id is actually an integer. Co-authored-by: Edgar Ramírez Mondragón <16805946+edgarrmondragon@users.noreply.github.com> --- tap_github/user_streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_github/user_streams.py b/tap_github/user_streams.py index 0cd1fb40..9603df61 100644 --- a/tap_github/user_streams.py +++ b/tap_github/user_streams.py @@ -230,7 +230,7 @@ def post_process(self, row: dict, context: Optional[Dict] = None) -> dict: schema = th.PropertiesList( # Parent Keys th.Property("username", th.StringType), - th.Property("repo_id", th.StringType), + th.Property("repo_id", th.IntegerType), th.Property("user_id", th.IntegerType), # Starred Repo Info th.Property("starred_at", th.DateTimeType),