Teams validation errors
houllette opened this issue · 1 comments
houllette commented
Seeing some pydantic errors related to .get_teams() similar to this issue
File "/usr/local/lib/python3.9/site-packages/clickupython/models.py", line 777, in build_teams
return Teams(**self)
File "pydantic/main.py", line 406, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 5 validation errors for Teams
teams -> 0 -> members -> 845 -> user -> custom_role
value is not None (type=type_error.not_none)
teams -> 0 -> members -> 871 -> user -> custom_role
value is not None (type=type_error.not_none)
teams -> 0 -> members -> 923 -> user -> custom_role
value is not None (type=type_error.not_none)
teams -> 0 -> members -> 1023 -> user -> custom_role
value is not None (type=type_error.not_none)
teams -> 0 -> members -> 1075 -> user -> custom_role
value is not None (type=type_error.not_none)
Imzachjohnson commented
good find. I will look into it this weekend and push a new release.