Habiticalib 0.3.4__py3-none-any.whl → 0.3.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- habiticalib/const.py +1 -1
- habiticalib/types.py +7 -1
- {habiticalib-0.3.4.dist-info → habiticalib-0.3.5.dist-info}/METADATA +1 -1
- {habiticalib-0.3.4.dist-info → habiticalib-0.3.5.dist-info}/RECORD +6 -6
- {habiticalib-0.3.4.dist-info → habiticalib-0.3.5.dist-info}/WHEEL +0 -0
- {habiticalib-0.3.4.dist-info → habiticalib-0.3.5.dist-info}/licenses/LICENSE +0 -0
habiticalib/const.py
CHANGED
habiticalib/types.py
CHANGED
@@ -11,6 +11,7 @@ from typing import Any, NotRequired, TypedDict
|
|
11
11
|
from uuid import UUID
|
12
12
|
|
13
13
|
from mashumaro import field_options
|
14
|
+
from mashumaro.config import BaseConfig
|
14
15
|
from mashumaro.mixins.orjson import DataClassORJSONMixin
|
15
16
|
|
16
17
|
|
@@ -907,9 +908,14 @@ class Task(TypedDict("Task", {"type": NotRequired[TaskType]}), total=True):
|
|
907
908
|
|
908
909
|
|
909
910
|
@dataclass(kw_only=True)
|
910
|
-
class TaskData:
|
911
|
+
class TaskData(DataClassORJSONMixin):
|
911
912
|
"""Task data."""
|
912
913
|
|
914
|
+
class Config(BaseConfig):
|
915
|
+
"""Configuration for TaskData."""
|
916
|
+
|
917
|
+
serialize_by_alias = True
|
918
|
+
|
913
919
|
challenge: Challenge = field(default_factory=Challenge)
|
914
920
|
group: GroupTask = field(default_factory=GroupTask)
|
915
921
|
Type: TaskType | None = field(default=None, metadata=field_options(alias="type"))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: Habiticalib
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.5
|
4
4
|
Summary: Asynchronous Python client library for the Habitica API
|
5
5
|
Project-URL: Documentation, https://tr4nt0r.github.io/habiticalib/
|
6
6
|
Project-URL: Source, https://github.com/tr4nt0r/habiticalib
|
@@ -1,12 +1,12 @@
|
|
1
1
|
habiticalib/__init__.py,sha256=YDYsEGMIxZftYU9YkNC0tyvJrkxn2lXV8WcVQoOXyvA,2415
|
2
|
-
habiticalib/const.py,sha256=
|
2
|
+
habiticalib/const.py,sha256=QvfUFP2ql8iTm2-36g-NC4GSWlYsWciYVWQ0uhMsABk,2308
|
3
3
|
habiticalib/exceptions.py,sha256=oVFCGbHkVn0UpIKIPZPzXfvzs9US4R05ebdEn6cOpqM,1350
|
4
4
|
habiticalib/ha.py,sha256=rSzrs7ixLJH3ZtOFlcuKV2t1ZndT0VpuPhDsGqorkOs,20757
|
5
5
|
habiticalib/helpers.py,sha256=IRZLYWkDVLI0iVBgBMmvZ6L83KCUl-CnzGhUR_tP6Fg,4576
|
6
6
|
habiticalib/lib.py,sha256=YxnlRwCsSlmrdvVu06TKRa6SgnQj2fh2LY8JM7HRqq8,73610
|
7
7
|
habiticalib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
habiticalib/types.py,sha256=
|
9
|
-
habiticalib-0.3.
|
10
|
-
habiticalib-0.3.
|
11
|
-
habiticalib-0.3.
|
12
|
-
habiticalib-0.3.
|
8
|
+
habiticalib/types.py,sha256=svPW9SHUNTDp8zuXahhFH__3ioy4O8RHiUlkzdd0_dk,43529
|
9
|
+
habiticalib-0.3.5.dist-info/METADATA,sha256=E5Rbx47jsOa6T4oSBxosipxDiO0n4V7Ey0AZL2RCzvM,4207
|
10
|
+
habiticalib-0.3.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
11
|
+
habiticalib-0.3.5.dist-info/licenses/LICENSE,sha256=oIinIOSJ49l1iVIRI3XGXFWt6SF7a83kEFBAY8ORwNI,1084
|
12
|
+
habiticalib-0.3.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|