Skip to content

Commit

Permalink
Merge pull request #43 from LucasZielke/key_properties_patch
Browse files Browse the repository at this point in the history
Change TagsStream and SharedHierarchyStream primary_keys
  • Loading branch information
visch authored Sep 28, 2021
2 parents f30cbeb + 5d76f2d commit e11fc32
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 e11fc32

Please sign in to comment.