Skip to content

v0.22.0

Latest

Choose a tag to compare

@franccesco franccesco released this 25 Mar 04:16
a7dac33

What's New

Archived status for Todos and Issues

SDK users can now check if todos and issues are archived via the archived field:

todos = client.todo.list()
for todo in todos:
    if todo.archived:
        print(f"Archived: {todo.name}")

issue = client.issue.details(123)
print(issue.archived)  # True or False

Changes

  • Add archived: bool to Todo, IssueDetails, and IssueListItem models
  • Add IsPresent reusable annotated type for coercing nullable API values to booleans
  • Update issues transform mixin to pass through Archived from API responses

Full Changelog: v0.21.2...v0.22.0