Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/data/test_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ class PaginatedItems(TypedDict):

DEFAULT_COLLABORATOR_RESPONSE_3 = dict(DEFAULT_COLLABORATOR_RESPONSE)
DEFAULT_COLLABORATOR_RESPONSE_3["id"] = "6X7rjKtP98vG84rK"
# Forward-compat with Doist/Issues#20418: hidden collaborator emails are
# currently sent as "hidden@todoist.com", but may become null.
DEFAULT_COLLABORATOR_RESPONSE_3["email"] = None

DEFAULT_COLLABORATORS_RESPONSE: list[PaginatedResults] = [
{
Expand Down
2 changes: 1 addition & 1 deletion todoist_api_python/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class _(JSONPyWizard.Meta): # noqa:N801
v1 = True

id: str
email: str
email: str | None
name: str


Expand Down
Loading