From: 
Subject: Debian changes

The Debian packaging of todoist-api-python is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/todoist-api-python
    % cd todoist-api-python
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone todoist-api-python`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/todoist_api_python/models.py b/todoist_api_python/models.py
index 5185a3c..a2bc06e 100644
--- a/todoist_api_python/models.py
+++ b/todoist_api_python/models.py
@@ -3,9 +3,18 @@ from __future__ import annotations
 from dataclasses import dataclass
 from typing import Annotated, Literal, Optional, Union
 
-from dataclass_wizard import JSONPyWizard
-from dataclass_wizard.v1 import DatePattern, DateTimePattern, UTCDateTimePattern
-from dataclass_wizard.v1.models import Alias
+try:
+    from dataclass_wizard import JSONWizard as JSONPyWizard
+    from dataclass_wizard.models import Alias
+    from dataclass_wizard.patterns import (
+        DatePattern,
+        DateTimePattern,
+        UTCDateTimePattern,
+    )
+except ImportError:
+    from dataclass_wizard import JSONPyWizard
+    from dataclass_wizard.v1 import DatePattern, DateTimePattern, UTCDateTimePattern
+    from dataclass_wizard.v1.models import Alias
 
 from todoist_api_python._core.endpoints import INBOX_URL, get_project_url, get_task_url
 
