diff --git a/tap_jotform/client.py b/tap_jotform/client.py index 0cff99d..17983b5 100644 --- a/tap_jotform/client.py +++ b/tap_jotform/client.py @@ -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] = [] diff --git a/tap_jotform/streams.py b/tap_jotform/streams.py index 2ed4f55..c5fcb95 100644 --- a/tap_jotform/streams.py +++ b/tap_jotform/streams.py @@ -246,6 +246,7 @@ class UserHistory(JotformStream): name = "user_history" path = "/user/history" + primary_keys = None schema = th.PropertiesList( th.Property(