Habiticalib 0.3.0__tar.gz → 0.3.1__tar.gz
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-0.3.0 → habiticalib-0.3.1}/.github/release-drafter.yml +1 -1
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/workflows/build.yml +3 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/PKG-INFO +1 -1
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/__init__.py +2 -2
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/const.py +1 -1
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/lib.py +3 -3
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/types.py +1 -1
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.cruft.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.editorconfig +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/FUNDING.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/dependabot.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/labels.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/workflows/documentation.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/workflows/draft.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.github/workflows/labeler.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.gitignore +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.pre-commit-config.yaml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/.vscode/settings.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/LICENSE +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/README.md +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/docs/index.md +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/docs/reference/habiticalib.md +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/mkdocs.yml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/pyproject.toml +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/exceptions.py +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/helpers.py +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/src/habiticalib/py.typed +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/__init__.py +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/__snapshots__/test_avatar.ambr +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/__snapshots__/test_lib.ambr +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/conftest.py +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/login.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_kickstarter.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_seafoam.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_shinySeed.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_sleeping.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_snowball.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_spookySparkles.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/fixtures/user_styles_with_chair.json +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/test_avatar.py +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/test_init.py +0 -0
- {habiticalib-0.3.0 → habiticalib-0.3.1}/tests/test_lib.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: Habiticalib
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.1
|
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
|
@@ -32,7 +32,7 @@ from .types import (
|
|
32
32
|
HabiticaTaskOrderResponse,
|
33
33
|
HabiticaTaskResponse,
|
34
34
|
HabiticaTasksResponse,
|
35
|
-
|
35
|
+
HabiticaUserAnonymizedrResponse,
|
36
36
|
HabiticaUserExport,
|
37
37
|
HabiticaUserResponse,
|
38
38
|
Language,
|
@@ -79,7 +79,7 @@ __all__ = [
|
|
79
79
|
"HabiticaTaskOrderResponse",
|
80
80
|
"HabiticaTaskResponse",
|
81
81
|
"HabiticaTasksResponse",
|
82
|
-
"
|
82
|
+
"HabiticaUserAnonymizedrResponse",
|
83
83
|
"HabiticaUserExport",
|
84
84
|
"HabiticaUserResponse",
|
85
85
|
"Language",
|
@@ -46,7 +46,7 @@ from .types import (
|
|
46
46
|
HabiticaTaskOrderResponse,
|
47
47
|
HabiticaTaskResponse,
|
48
48
|
HabiticaTasksResponse,
|
49
|
-
|
49
|
+
HabiticaUserAnonymizedrResponse,
|
50
50
|
HabiticaUserExport,
|
51
51
|
HabiticaUserResponse,
|
52
52
|
Language,
|
@@ -254,7 +254,7 @@ class Habitica:
|
|
254
254
|
|
255
255
|
async def get_user_anonymized(
|
256
256
|
self,
|
257
|
-
) ->
|
257
|
+
) -> HabiticaUserAnonymizedrResponse:
|
258
258
|
"""Get the authenticated user's anonymized profile.
|
259
259
|
|
260
260
|
This method retrieves the user's profile data while excluding sensitive
|
@@ -291,7 +291,7 @@ class Habitica:
|
|
291
291
|
|
292
292
|
url = url / "anonymized"
|
293
293
|
|
294
|
-
return
|
294
|
+
return HabiticaUserAnonymizedrResponse.from_json(
|
295
295
|
await self._request("get", url=url),
|
296
296
|
)
|
297
297
|
|
@@ -1050,7 +1050,7 @@ class UserAnonymizedData:
|
|
1050
1050
|
|
1051
1051
|
|
1052
1052
|
@dataclass(kw_only=True)
|
1053
|
-
class
|
1053
|
+
class HabiticaUserAnonymizedrResponse(DataClassORJSONMixin):
|
1054
1054
|
"""Representation of a anonymized user data export."""
|
1055
1055
|
|
1056
1056
|
data: UserAnonymizedData
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|