Skip to content

Commit

Permalink
Change TagsStream and SharedHierarchyStream
Browse files Browse the repository at this point in the history
To comply with [singer specifications](https://github.com/singer-io/getting-started/blob/master/docs/SPEC.md#schema-message) key_properties needs to exist on top level (or be an empty list), of which Tags and Shared does not have ["id"].
  • Loading branch information
LucasZielke committed Sep 28, 2021
1 parent f30cbeb commit 5d76f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tap_clickup/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class TagsStream(ClickUpStream):

name = "tag"
path = "/space/{space_id}/tag"
primary_keys = ["id"]
primary_keys = ["name"]
replication_key = None
schema_filepath = SCHEMAS_DIR / "tag.json"
records_jsonpath = "$.tags[*]"
Expand All @@ -158,7 +158,7 @@ class SharedHierarchyStream(ClickUpStream):

name = "shared_hierarchy"
path = "/team/{team_id}/shared"
primary_keys = ["id"]
primary_keys = []
replication_key = None
schema_filepath = SCHEMAS_DIR / "shared.json"
records_jsonpath = "$.shared"
Expand Down

0 comments on commit 5d76f2d

Please sign in to comment.