Skip to content

Commit ba25c4f

Browse files
fix: Fix issue with the repo_id type for user streams being incorrect (#255)
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>
1 parent 1b41def commit ba25c4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tap_github/user_streams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def post_process(self, row: dict, context: Optional[Dict] = None) -> dict:
230230
schema = th.PropertiesList(
231231
# Parent Keys
232232
th.Property("username", th.StringType),
233-
th.Property("repo_id", th.StringType),
233+
th.Property("repo_id", th.IntegerType),
234234
th.Property("user_id", th.IntegerType),
235235
# Starred Repo Info
236236
th.Property("starred_at", th.DateTimeType),

0 commit comments

Comments
 (0)