Habiticalib 0.3.7rc0__py3-none-any.whl → 0.3.7rc1__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/typedefs.py +3 -2
- {habiticalib-0.3.7rc0.dist-info → habiticalib-0.3.7rc1.dist-info}/METADATA +1 -1
- {habiticalib-0.3.7rc0.dist-info → habiticalib-0.3.7rc1.dist-info}/RECORD +6 -6
- {habiticalib-0.3.7rc0.dist-info → habiticalib-0.3.7rc1.dist-info}/WHEEL +0 -0
- {habiticalib-0.3.7rc0.dist-info → habiticalib-0.3.7rc1.dist-info}/licenses/LICENSE +0 -0
habiticalib/const.py
CHANGED
habiticalib/typedefs.py
CHANGED
@@ -11,7 +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
|
14
|
+
from mashumaro.config import TO_DICT_ADD_OMIT_NONE_FLAG
|
15
15
|
from mashumaro.mixins.orjson import DataClassORJSONMixin
|
16
16
|
|
17
17
|
|
@@ -37,7 +37,7 @@ def serialize_datetime(date: str | int | None) -> datetime | None:
|
|
37
37
|
class BaseModel(DataClassORJSONMixin):
|
38
38
|
"""Base config for dataclasses."""
|
39
39
|
|
40
|
-
class Config
|
40
|
+
class Config:
|
41
41
|
"""Configuration for TaskData."""
|
42
42
|
|
43
43
|
aliases = { # noqa: RUF012
|
@@ -51,6 +51,7 @@ class BaseModel(DataClassORJSONMixin):
|
|
51
51
|
}
|
52
52
|
serialize_by_alias = True
|
53
53
|
omit_none = True
|
54
|
+
code_generation_options = [TO_DICT_ADD_OMIT_NONE_FLAG] # noqa: RUF012
|
54
55
|
|
55
56
|
def __eq__(self, value: object) -> bool:
|
56
57
|
"""Check if two instances are equal."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: Habiticalib
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.7rc1
|
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=ZUd6heFQJaJgNiseoSY2SfJzOHfGFdIiOHI-qf9fXuU,6940
|
2
|
-
habiticalib/const.py,sha256=
|
2
|
+
habiticalib/const.py,sha256=H2LnnOkR3qBIO9rGhndJiFtXwO-FdThjoTt3DkIzqsM,2311
|
3
3
|
habiticalib/exceptions.py,sha256=i9hnCaMT5RbnTioFhwRYJkcC_bG9lMeUd2jJsWFVnVg,1342
|
4
4
|
habiticalib/ha.py,sha256=rSzrs7ixLJH3ZtOFlcuKV2t1ZndT0VpuPhDsGqorkOs,20757
|
5
5
|
habiticalib/helpers.py,sha256=lq2HBvqLsFo5_zckMnc7hzDsHLfyrcStpFUpet3ZuZY,4500
|
6
6
|
habiticalib/lib.py,sha256=K6KwRBw_bq9wyXb5PJcZVlN2kF6zXiPm11Hk4XVHfqE,73598
|
7
7
|
habiticalib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
habiticalib/typedefs.py,sha256=
|
9
|
-
habiticalib-0.3.
|
10
|
-
habiticalib-0.3.
|
11
|
-
habiticalib-0.3.
|
12
|
-
habiticalib-0.3.
|
8
|
+
habiticalib/typedefs.py,sha256=984f8IawG-L8XTinsNDmaiSJkgfIJk-vHBI44qRySNE,44343
|
9
|
+
habiticalib-0.3.7rc1.dist-info/METADATA,sha256=pW_rpLjd26SZc6VSce_SK-MeAmquhVtwg69GEvGjfkQ,4210
|
10
|
+
habiticalib-0.3.7rc1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
11
|
+
habiticalib-0.3.7rc1.dist-info/licenses/LICENSE,sha256=oIinIOSJ49l1iVIRI3XGXFWt6SF7a83kEFBAY8ORwNI,1084
|
12
|
+
habiticalib-0.3.7rc1.dist-info/RECORD,,
|
File without changes
|
File without changes
|