Skip to content

Commit

Permalink
fix: Fix issue with the repo_id type for user streams being incorrect (
Browse files Browse the repository at this point in the history
…#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 <[email protected]>
  • Loading branch information
BraedonLeonard and edgarrmondragon authored Jul 16, 2024
1 parent 1b41def commit ba25c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_github/user_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit ba25c4f

Please sign in to comment.