Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams validation errors #49

Open
houllette opened this issue Nov 2, 2021 · 1 comment
Open

Teams validation errors #49

houllette opened this issue Nov 2, 2021 · 1 comment

Comments

@houllette
Copy link

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
Copy link
Owner

good find. I will look into it this weekend and push a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants