Skip to content

Commit

Permalink
fix: user_history does not have a PK (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Dec 7, 2022
1 parent 630fab8 commit 0925bcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tap_jotform/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class JotformStream(RESTStream):
"""Jotform stream class."""

page_size = 100
primary_keys = ["id"]
primary_keys: list[str] | None = ["id"]
records_jsonpath = "$.content[*]"

INTEGER_FIELDS: list[str] = []
Expand Down
1 change: 1 addition & 0 deletions tap_jotform/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ class UserHistory(JotformStream):

name = "user_history"
path = "/user/history"
primary_keys = None

schema = th.PropertiesList(
th.Property(
Expand Down

0 comments on commit 0925bcd

Please sign in to comment.