Skip to content

Commit e45a197

Browse files
committed
Add more custom attributes
1 parent d40ed26 commit e45a197

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)