Skip to content

Commit

Permalink
Merge pull request #8 from augusthorlen0/add-more-custom-attributes
Browse files Browse the repository at this point in the history
Add more custom attributes
  • Loading branch information
JohannesRudolph authored Dec 4, 2024
2 parents d40ed26 + e45a197 commit 52b8e95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tap_personio/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ def schema(self):
th.Property("percentage", th.NumberType())
)
)
elif personio_id == "supervisor":
json_type = th.ObjectType()
elif personio_id == "subcompany":
json_type = th.ObjectType()
elif personio_id == "office":
json_type = th.ObjectType()
# note: the PersonioAPI is a mess, we probably need more here

properties.append(th.Property(personio_id, json_type, description=attr["label"]))
Expand Down

0 comments on commit 52b8e95

Please sign in to comment.