Skip to content

Commit 52b8e95

Browse files
Merge pull request #8 from augusthorlen0/add-more-custom-attributes
Add more custom attributes
2 parents d40ed26 + e45a197 commit 52b8e95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tap_personio/streams.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ def schema(self):
9090
th.Property("percentage", th.NumberType())
9191
)
9292
)
93+
elif personio_id == "supervisor":
94+
json_type = th.ObjectType()
95+
elif personio_id == "subcompany":
96+
json_type = th.ObjectType()
97+
elif personio_id == "office":
98+
json_type = th.ObjectType()
9399
# note: the PersonioAPI is a mess, we probably need more here
94100

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

0 commit comments

Comments
 (0)