Habiticalib 0.4.4__tar.gz → 0.4.6__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.4.4 → habiticalib-0.4.6}/.github/workflows/build.yml +4 -1
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/workflows/documentation.yml +3 -5
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.pre-commit-config.yaml +3 -3
- {habiticalib-0.4.4 → habiticalib-0.4.6}/PKG-INFO +5 -5
- {habiticalib-0.4.4 → habiticalib-0.4.6}/pyproject.toml +24 -23
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/const.py +1 -1
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/typedefs.py +2 -2
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_group.ambr +1 -1
- habiticalib-0.4.6/tests/fixtures/party.json +143 -0
- habiticalib-0.4.4/tests/fixtures/party.json +0 -132
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.cruft.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.editorconfig +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/FUNDING.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/dependabot.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/labels.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/release-drafter.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/workflows/draft.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.github/workflows/labeler.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.gitignore +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/.vscode/settings.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/CONTRIBUTING.md +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/LICENSE +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/README.md +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/docs/index.md +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/docs/reference/habiticalib.md +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/mkdocs.yml +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/renovate.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/__init__.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/exceptions.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/ha.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/helpers.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/lib.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/src/habiticalib/py.typed +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__init__.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar.png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[animated_background].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[default].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[kickstarter_backer_gear].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[kickstarter_pet_mount].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[seafoam].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[shinySeed].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[sleeping].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[snowball].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[special_0].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[special_1].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[spookySparkles].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[weapon_critical].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_from_styles[with_chair].png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar_to_file.png +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar.ambr +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_login.ambr +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_serialize.ambr +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_tasks.ambr +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_user.ambr +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/conftest.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/empty_data.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/login.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/task.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/task_order.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/tasks.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_anonymized.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_animated_background.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_kickstarter.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_kickstarter_pets.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_seafoam.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_shinySeed.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_sleeping.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_snowball.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_special_0.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_special_1.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_spookySparkles.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_weapon_critical.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/fixtures/user_styles_with_chair.json +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/test_avatar.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/test_group.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/test_login.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/test_serialize.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/test_tasks.py +0 -0
- {habiticalib-0.4.4 → habiticalib-0.4.6}/tests/test_user.py +0 -0
|
@@ -10,8 +10,11 @@ jobs:
|
|
|
10
10
|
runs-on: ${{ matrix.os }}
|
|
11
11
|
steps:
|
|
12
12
|
- uses: actions/checkout@v5
|
|
13
|
+
- uses: actions/setup-python@v6
|
|
14
|
+
with:
|
|
15
|
+
python-version: '3.14'
|
|
13
16
|
- name: Install dependencies
|
|
14
|
-
run: pipx install hatch
|
|
17
|
+
run: pipx install hatch --python python3.14
|
|
15
18
|
- name: Lint and typecheck
|
|
16
19
|
run: |
|
|
17
20
|
hatch run lint-check
|
|
@@ -29,14 +29,12 @@ jobs:
|
|
|
29
29
|
steps:
|
|
30
30
|
- uses: actions/checkout@v5
|
|
31
31
|
- name: Set up Python
|
|
32
|
-
uses: actions/setup-python@
|
|
32
|
+
uses: actions/setup-python@v6
|
|
33
33
|
with:
|
|
34
|
-
python-version: '3.
|
|
34
|
+
python-version: '3.14'
|
|
35
35
|
- name: Install dependencies
|
|
36
36
|
run: |
|
|
37
|
-
|
|
38
|
-
pip install hatch
|
|
39
|
-
hatch env create
|
|
37
|
+
pipx install hatch --python python3.14
|
|
40
38
|
- name: Build
|
|
41
39
|
run: hatch run docs-build
|
|
42
40
|
- name: Upload artifact
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
repos:
|
|
2
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
-
rev:
|
|
3
|
+
rev: v6.0.0
|
|
4
4
|
hooks:
|
|
5
5
|
- id: trailing-whitespace
|
|
6
6
|
- id: check-added-large-files
|
|
@@ -20,14 +20,14 @@ repos:
|
|
|
20
20
|
|
|
21
21
|
# Ruff replaces black, flake8, autoflake, isort and more
|
|
22
22
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
23
|
-
rev: 'v0.
|
|
23
|
+
rev: 'v0.14.0' # make sure this is always consistent with hatch configs
|
|
24
24
|
hooks:
|
|
25
25
|
- id: ruff
|
|
26
26
|
- id: ruff-format
|
|
27
27
|
args: [--check, --config, ./pyproject.toml]
|
|
28
28
|
|
|
29
29
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
30
|
-
rev: 'v1.
|
|
30
|
+
rev: 'v1.18.2' # make sure this is always consistent with hatch configs
|
|
31
31
|
hooks:
|
|
32
32
|
- id: mypy
|
|
33
33
|
args: ["--install-types", "--non-interactive", "--ignore-missing-imports"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Habiticalib
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
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
|
|
@@ -11,10 +11,10 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
|
-
Requires-Dist: aiohttp
|
|
15
|
-
Requires-Dist: mashumaro
|
|
16
|
-
Requires-Dist: orjson
|
|
17
|
-
Requires-Dist: pillow
|
|
14
|
+
Requires-Dist: aiohttp>=3.9
|
|
15
|
+
Requires-Dist: mashumaro>=3.13
|
|
16
|
+
Requires-Dist: orjson>=3.10
|
|
17
|
+
Requires-Dist: pillow>=11.0
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
|
|
20
20
|
# Habiticalib
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[tool.ruff]
|
|
2
|
-
target-version = "
|
|
2
|
+
target-version = "py314"
|
|
3
3
|
line-length = 88
|
|
4
4
|
|
|
5
5
|
[tool.ruff.lint]
|
|
6
6
|
select = ["ALL"]
|
|
7
|
-
ignore = ["TRY003", "D202", "D213", "D417", "ANN003", "ANN401", "E501", "COM812", "ISC001", "PLW1641"]
|
|
7
|
+
ignore = ["TRY003", "D202", "D213", "D417", "ANN003", "ANN401", "E501", "COM812", "ISC001", "PLW1641", "TC001", "TC002"]
|
|
8
8
|
|
|
9
9
|
[tool.ruff.lint.isort]
|
|
10
10
|
force-sort-within-sections = true
|
|
@@ -73,37 +73,38 @@ commit_extra_args = ["-e"]
|
|
|
73
73
|
path = "src/habiticalib/const.py"
|
|
74
74
|
|
|
75
75
|
[tool.hatch.envs.default]
|
|
76
|
-
python = "3.
|
|
76
|
+
python = "3.14"
|
|
77
77
|
dependencies = [
|
|
78
|
-
"aiohttp==3.
|
|
79
|
-
"mashumaro==3.
|
|
80
|
-
"orjson==3.11.
|
|
81
|
-
"Pillow==
|
|
82
|
-
"mypy==1.
|
|
83
|
-
"ruff==0.
|
|
84
|
-
"pytest==8.4.
|
|
85
|
-
"pytest-cov==
|
|
86
|
-
"mkdocs-material==9.6.
|
|
87
|
-
"mkdocstrings[python]==0.30.
|
|
88
|
-
"pytest-asyncio==1.
|
|
78
|
+
"aiohttp==3.13.0",
|
|
79
|
+
"mashumaro==3.17",
|
|
80
|
+
"orjson==3.11.3",
|
|
81
|
+
"Pillow==12.0.0",
|
|
82
|
+
"mypy==1.18.2",
|
|
83
|
+
"ruff==0.14.0",
|
|
84
|
+
"pytest==8.4.2",
|
|
85
|
+
"pytest-cov==7.0.0",
|
|
86
|
+
"mkdocs-material==9.6.21",
|
|
87
|
+
"mkdocstrings[python]==0.30.1",
|
|
88
|
+
"pytest-asyncio==1.2.0",
|
|
89
89
|
"aioresponses==0.7.8",
|
|
90
90
|
"pre-commit==4.3.0",
|
|
91
|
-
"syrupy==
|
|
91
|
+
"syrupy==5.0.0"
|
|
92
92
|
]
|
|
93
93
|
|
|
94
94
|
[tool.hatch.envs.hatch-test]
|
|
95
95
|
parallel = true
|
|
96
96
|
extra-dependencies = [
|
|
97
|
+
"pytest==8.4.2",
|
|
97
98
|
"aioresponses==0.7.8",
|
|
98
|
-
"pytest-asyncio==1.
|
|
99
|
-
"syrupy==
|
|
100
|
-
"pytest-cov==
|
|
99
|
+
"pytest-asyncio==1.2.0",
|
|
100
|
+
"syrupy==5.0.0",
|
|
101
|
+
"pytest-cov==7.0.0",
|
|
101
102
|
]
|
|
102
103
|
extra-args = ["--cov-report=xml", "-vv"]
|
|
103
104
|
type = "virtual"
|
|
104
105
|
|
|
105
106
|
[[tool.hatch.envs.hatch-test.matrix]]
|
|
106
|
-
python = ["3.13", "3.12"]
|
|
107
|
+
python = ["3.14", "3.13", "3.12"]
|
|
107
108
|
|
|
108
109
|
[tool.hatch.envs.default.scripts]
|
|
109
110
|
test = "pytest"
|
|
@@ -144,10 +145,10 @@ classifiers = [
|
|
|
144
145
|
license = {text = "MIT License"}
|
|
145
146
|
requires-python = ">=3.12"
|
|
146
147
|
dependencies = [
|
|
147
|
-
"aiohttp
|
|
148
|
-
"mashumaro
|
|
149
|
-
"orjson
|
|
150
|
-
"Pillow
|
|
148
|
+
"aiohttp>=3.9",
|
|
149
|
+
"mashumaro>=3.13",
|
|
150
|
+
"orjson>=3.10",
|
|
151
|
+
"Pillow>=11.0"
|
|
151
152
|
]
|
|
152
153
|
|
|
153
154
|
[project.urls]
|
|
@@ -1957,8 +1957,8 @@ class ChatMsg(BaseModel):
|
|
|
1957
1957
|
id: UUID
|
|
1958
1958
|
flagCount: int
|
|
1959
1959
|
text: str
|
|
1960
|
-
unformattedText: str
|
|
1961
|
-
info: ChatMsgInfo
|
|
1960
|
+
unformattedText: str | None = None
|
|
1961
|
+
info: ChatMsgInfo = field(default_factory=ChatMsgInfo)
|
|
1962
1962
|
timestamp: datetime = field(
|
|
1963
1963
|
metadata=field_options(
|
|
1964
1964
|
deserialize=serialize_datetime,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# serializer version: 1
|
|
2
2
|
# name: test_get_group
|
|
3
|
-
HabiticaGroupsResponse(data=GroupData(id=UUID('d27c2e74-a65a-42cc-9ac4-46966242cb1f'), name="test's Party", summary="test's Party", description='', leader=GroupLeader(id=UUID('c5dece22-3b0c-4e30-a6e7-34c2524224db'), auth=AuthUser(local=LocalAuth(email=None, username='test', lowerCaseUsername=None, has_password=None), timestamps=LocalTimestamps(created=None, loggedin=None, updated=None), facebook=None, google=None, apple=None), profile=ProfileUser(blurb=None, imageUrl=None, name='test')), type=<GroupType.PARTY: 'party'>, privacy=<GroupPrivacy.PRIVATE: 'private'>, chat=[ChatMsg(id=UUID('bb436446-6e91-49ea-9607-11f955105224'), flagCount=0, text='hallo', unformattedText='hallo', info=ChatMsgInfo(type=None, user=None, quest=None, items=None), timestamp=datetime.datetime(2025, 4, 17, 12, 19, 16, 769000, tzinfo=datetime.timezone.utc), likes={}, client='web', uuid=UUID('c18e1853-bded-47a9-82e2-adfdad08894d'), groupId=UUID('d27c2e74-a65a-42cc-9ac4-46966242cb1f'), user='test', username='test', userStyles=Avatar(items=ItemsAvatar(gear=GearItemsAvatar(equipped=EquippedGear(weapon=None, armor='armor_base_0', head='head_base_0', shield='shield_special_piDay', back=None, headAccessory='headAccessory_base_0', eyewear=None, body=None), costume=EquippedGear(weapon=None, armor=None, head=None, shield=None, back=None, headAccessory=None, eyewear=None, body=None)), currentMount='', currentPet=''), preferences=PreferencesAvatar(hair=HairPreferences(color='red', base=3, bangs=0, beard=0, mustache=0, flower=1), size='slim', skin='915533', shirt='pink', chair='none', costume=False, sleep=None, background='violet'), stats=StatsAvatar(buffs=BuffsStatsavatar(seafoam=False, shinySeed=False, snowball=False, spookySparkles=False), Class=<HabiticaClass.ROGUE: 'rogue'>)), sent=None, ownerId=None, uniqueMessageId=None)], leaderOnly=LeaderOnly(challenges=False, getGems=False), memberCount=2, ChallengeCount=0, chatLimitCount=None, balance=0.0, logo=None, leaderMessage=None, quest=QuestParty(progress=ProgressQuest(up=None, down=None, collect={}, collectedItems=None, hp=None, rage=None), RSVPNeeded=None, key='atom1', completed=None, active=False, leader=UUID('c18e1853-bded-47a9-82e2-adfdad08894d'), members={UUID('c18e1853-bded-47a9-82e2-adfdad08894d'): True, UUID('c5dece22-3b0c-4e30-a6e7-34c2524224db'): False})), success=True, notifications=[], userV=797, appVersion='5.35.3')
|
|
3
|
+
HabiticaGroupsResponse(data=GroupData(id=UUID('d27c2e74-a65a-42cc-9ac4-46966242cb1f'), name="test's Party", summary="test's Party", description='', leader=GroupLeader(id=UUID('c5dece22-3b0c-4e30-a6e7-34c2524224db'), auth=AuthUser(local=LocalAuth(email=None, username='test', lowerCaseUsername=None, has_password=None), timestamps=LocalTimestamps(created=None, loggedin=None, updated=None), facebook=None, google=None, apple=None), profile=ProfileUser(blurb=None, imageUrl=None, name='test')), type=<GroupType.PARTY: 'party'>, privacy=<GroupPrivacy.PRIVATE: 'private'>, chat=[ChatMsg(id=UUID('bb436446-6e91-49ea-9607-11f955105224'), flagCount=0, text='hallo', unformattedText='hallo', info=ChatMsgInfo(type=None, user=None, quest=None, items=None), timestamp=datetime.datetime(2025, 4, 17, 12, 19, 16, 769000, tzinfo=datetime.timezone.utc), likes={}, client='web', uuid=UUID('c18e1853-bded-47a9-82e2-adfdad08894d'), groupId=UUID('d27c2e74-a65a-42cc-9ac4-46966242cb1f'), user='test', username='test', userStyles=Avatar(items=ItemsAvatar(gear=GearItemsAvatar(equipped=EquippedGear(weapon=None, armor='armor_base_0', head='head_base_0', shield='shield_special_piDay', back=None, headAccessory='headAccessory_base_0', eyewear=None, body=None), costume=EquippedGear(weapon=None, armor=None, head=None, shield=None, back=None, headAccessory=None, eyewear=None, body=None)), currentMount='', currentPet=''), preferences=PreferencesAvatar(hair=HairPreferences(color='red', base=3, bangs=0, beard=0, mustache=0, flower=1), size='slim', skin='915533', shirt='pink', chair='none', costume=False, sleep=None, background='violet'), stats=StatsAvatar(buffs=BuffsStatsavatar(seafoam=False, shinySeed=False, snowball=False, spookySparkles=False), Class=<HabiticaClass.ROGUE: 'rogue'>)), sent=None, ownerId=None, uniqueMessageId=None), ChatMsg(id=UUID('b53ca2b3-c0fb-4dc5-bdbb-ecc8f4871be5'), flagCount=0, text='`Your quest, The Feral Dust Bunnies, has started.`', unformattedText=None, info=ChatMsgInfo(type=None, user=None, quest=None, items=None), timestamp=datetime.datetime(2018, 3, 14, 6, 57, 26, 701000, tzinfo=datetime.timezone.utc), likes={}, client=None, uuid='system', groupId=UUID('d27c2e74-a65a-42cc-9ac4-46966242cb1f'), user=None, username=None, userStyles=None, sent=None, ownerId=None, uniqueMessageId=None)], leaderOnly=LeaderOnly(challenges=False, getGems=False), memberCount=2, ChallengeCount=0, chatLimitCount=None, balance=0.0, logo=None, leaderMessage=None, quest=QuestParty(progress=ProgressQuest(up=None, down=None, collect={}, collectedItems=None, hp=None, rage=None), RSVPNeeded=None, key='atom1', completed=None, active=False, leader=UUID('c18e1853-bded-47a9-82e2-adfdad08894d'), members={UUID('c18e1853-bded-47a9-82e2-adfdad08894d'): True, UUID('c5dece22-3b0c-4e30-a6e7-34c2524224db'): False})), success=True, notifications=[], userV=797, appVersion='5.35.3')
|
|
4
4
|
# ---
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"success": true,
|
|
3
|
+
"data": {
|
|
4
|
+
"leaderOnly": {
|
|
5
|
+
"challenges": false,
|
|
6
|
+
"getGems": false
|
|
7
|
+
},
|
|
8
|
+
"quest": {
|
|
9
|
+
"progress": {
|
|
10
|
+
"collect": {}
|
|
11
|
+
},
|
|
12
|
+
"active": false,
|
|
13
|
+
"members": {
|
|
14
|
+
"c18e1853-bded-47a9-82e2-adfdad08894d": true,
|
|
15
|
+
"c5dece22-3b0c-4e30-a6e7-34c2524224db": null
|
|
16
|
+
},
|
|
17
|
+
"extra": {},
|
|
18
|
+
"key": "atom1",
|
|
19
|
+
"leader": "c18e1853-bded-47a9-82e2-adfdad08894d"
|
|
20
|
+
},
|
|
21
|
+
"tasksOrder": {
|
|
22
|
+
"habits": [],
|
|
23
|
+
"dailys": [],
|
|
24
|
+
"todos": [],
|
|
25
|
+
"rewards": []
|
|
26
|
+
},
|
|
27
|
+
"purchased": {
|
|
28
|
+
"plan": {
|
|
29
|
+
"consecutive": {
|
|
30
|
+
"count": 0,
|
|
31
|
+
"offset": 0,
|
|
32
|
+
"gemCapExtra": 0,
|
|
33
|
+
"trinkets": 0
|
|
34
|
+
},
|
|
35
|
+
"quantity": 1,
|
|
36
|
+
"extraMonths": 0,
|
|
37
|
+
"gemsBought": 0,
|
|
38
|
+
"cumulativeCount": 0,
|
|
39
|
+
"mysteryItems": []
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"cron": {},
|
|
43
|
+
"_id": "d27c2e74-a65a-42cc-9ac4-46966242cb1f",
|
|
44
|
+
"name": "test's Party",
|
|
45
|
+
"type": "party",
|
|
46
|
+
"privacy": "private",
|
|
47
|
+
"chat": [
|
|
48
|
+
{
|
|
49
|
+
"_id": "bb436446-6e91-49ea-9607-11f955105224",
|
|
50
|
+
"flagCount": 0,
|
|
51
|
+
"flags": {},
|
|
52
|
+
"id": "bb436446-6e91-49ea-9607-11f955105224",
|
|
53
|
+
"text": "hallo",
|
|
54
|
+
"unformattedText": "hallo",
|
|
55
|
+
"info": {},
|
|
56
|
+
"timestamp": 1744892356769,
|
|
57
|
+
"likes": {},
|
|
58
|
+
"client": "web",
|
|
59
|
+
"uuid": "c18e1853-bded-47a9-82e2-adfdad08894d",
|
|
60
|
+
"contributor": {},
|
|
61
|
+
"backer": {},
|
|
62
|
+
"user": "test",
|
|
63
|
+
"username": "test",
|
|
64
|
+
"groupId": "d27c2e74-a65a-42cc-9ac4-46966242cb1f",
|
|
65
|
+
"userStyles": {
|
|
66
|
+
"items": {
|
|
67
|
+
"gear": {
|
|
68
|
+
"equipped": {
|
|
69
|
+
"armor": "armor_base_0",
|
|
70
|
+
"head": "head_base_0",
|
|
71
|
+
"shield": "shield_special_piDay",
|
|
72
|
+
"headAccessory": "headAccessory_base_0"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"currentMount": "",
|
|
76
|
+
"currentPet": ""
|
|
77
|
+
},
|
|
78
|
+
"preferences": {
|
|
79
|
+
"hair": {
|
|
80
|
+
"color": "red",
|
|
81
|
+
"base": 3,
|
|
82
|
+
"bangs": 0,
|
|
83
|
+
"beard": 0,
|
|
84
|
+
"mustache": 0,
|
|
85
|
+
"flower": 1
|
|
86
|
+
},
|
|
87
|
+
"skin": "915533",
|
|
88
|
+
"shirt": "pink",
|
|
89
|
+
"chair": "none",
|
|
90
|
+
"size": "slim",
|
|
91
|
+
"background": "violet",
|
|
92
|
+
"costume": false
|
|
93
|
+
},
|
|
94
|
+
"stats": {
|
|
95
|
+
"class": "rogue",
|
|
96
|
+
"buffs": {
|
|
97
|
+
"seafoam": false,
|
|
98
|
+
"shinySeed": false,
|
|
99
|
+
"spookySparkles": false,
|
|
100
|
+
"snowball": false
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"_id": "b53ca2b3-c0fb-4dc5-bdbb-ecc8f4871be5",
|
|
107
|
+
"flagCount": 0,
|
|
108
|
+
"flags": {},
|
|
109
|
+
"id": "b53ca2b3-c0fb-4dc5-bdbb-ecc8f4871be5",
|
|
110
|
+
"text": "`Your quest, The Feral Dust Bunnies, has started.`",
|
|
111
|
+
"timestamp": 1521010646701,
|
|
112
|
+
"likes": {},
|
|
113
|
+
"uuid": "system",
|
|
114
|
+
"groupId": "d27c2e74-a65a-42cc-9ac4-46966242cb1f"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"memberCount": 2,
|
|
118
|
+
"challengeCount": 0,
|
|
119
|
+
"balance": 0,
|
|
120
|
+
"managers": {},
|
|
121
|
+
"categories": [],
|
|
122
|
+
"leader": {
|
|
123
|
+
"auth": {
|
|
124
|
+
"local": {
|
|
125
|
+
"username": "test"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"flags": {
|
|
129
|
+
"verifiedUsername": true
|
|
130
|
+
},
|
|
131
|
+
"profile": {
|
|
132
|
+
"name": "test"
|
|
133
|
+
},
|
|
134
|
+
"_id": "c5dece22-3b0c-4e30-a6e7-34c2524224db",
|
|
135
|
+
"id": "c5dece22-3b0c-4e30-a6e7-34c2524224db"
|
|
136
|
+
},
|
|
137
|
+
"summary": "test's Party",
|
|
138
|
+
"id": "d27c2e74-a65a-42cc-9ac4-46966242cb1f"
|
|
139
|
+
},
|
|
140
|
+
"notifications": [],
|
|
141
|
+
"userV": 797,
|
|
142
|
+
"appVersion": "5.35.3"
|
|
143
|
+
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"success": true,
|
|
3
|
-
"data": {
|
|
4
|
-
"leaderOnly": {
|
|
5
|
-
"challenges": false,
|
|
6
|
-
"getGems": false
|
|
7
|
-
},
|
|
8
|
-
"quest": {
|
|
9
|
-
"progress": {
|
|
10
|
-
"collect": {}
|
|
11
|
-
},
|
|
12
|
-
"active": false,
|
|
13
|
-
"members": {
|
|
14
|
-
"c18e1853-bded-47a9-82e2-adfdad08894d": true,
|
|
15
|
-
"c5dece22-3b0c-4e30-a6e7-34c2524224db": null
|
|
16
|
-
},
|
|
17
|
-
"extra": {},
|
|
18
|
-
"key": "atom1",
|
|
19
|
-
"leader": "c18e1853-bded-47a9-82e2-adfdad08894d"
|
|
20
|
-
},
|
|
21
|
-
"tasksOrder": {
|
|
22
|
-
"habits": [],
|
|
23
|
-
"dailys": [],
|
|
24
|
-
"todos": [],
|
|
25
|
-
"rewards": []
|
|
26
|
-
},
|
|
27
|
-
"purchased": {
|
|
28
|
-
"plan": {
|
|
29
|
-
"consecutive": {
|
|
30
|
-
"count": 0,
|
|
31
|
-
"offset": 0,
|
|
32
|
-
"gemCapExtra": 0,
|
|
33
|
-
"trinkets": 0
|
|
34
|
-
},
|
|
35
|
-
"quantity": 1,
|
|
36
|
-
"extraMonths": 0,
|
|
37
|
-
"gemsBought": 0,
|
|
38
|
-
"cumulativeCount": 0,
|
|
39
|
-
"mysteryItems": []
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"cron": {},
|
|
43
|
-
"_id": "d27c2e74-a65a-42cc-9ac4-46966242cb1f",
|
|
44
|
-
"name": "test's Party",
|
|
45
|
-
"type": "party",
|
|
46
|
-
"privacy": "private",
|
|
47
|
-
"chat": [
|
|
48
|
-
{
|
|
49
|
-
"_id": "bb436446-6e91-49ea-9607-11f955105224",
|
|
50
|
-
"flagCount": 0,
|
|
51
|
-
"flags": {},
|
|
52
|
-
"id": "bb436446-6e91-49ea-9607-11f955105224",
|
|
53
|
-
"text": "hallo",
|
|
54
|
-
"unformattedText": "hallo",
|
|
55
|
-
"info": {},
|
|
56
|
-
"timestamp": 1744892356769,
|
|
57
|
-
"likes": {},
|
|
58
|
-
"client": "web",
|
|
59
|
-
"uuid": "c18e1853-bded-47a9-82e2-adfdad08894d",
|
|
60
|
-
"contributor": {},
|
|
61
|
-
"backer": {},
|
|
62
|
-
"user": "test",
|
|
63
|
-
"username": "test",
|
|
64
|
-
"groupId": "d27c2e74-a65a-42cc-9ac4-46966242cb1f",
|
|
65
|
-
"userStyles": {
|
|
66
|
-
"items": {
|
|
67
|
-
"gear": {
|
|
68
|
-
"equipped": {
|
|
69
|
-
"armor": "armor_base_0",
|
|
70
|
-
"head": "head_base_0",
|
|
71
|
-
"shield": "shield_special_piDay",
|
|
72
|
-
"headAccessory": "headAccessory_base_0"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"currentMount": "",
|
|
76
|
-
"currentPet": ""
|
|
77
|
-
},
|
|
78
|
-
"preferences": {
|
|
79
|
-
"hair": {
|
|
80
|
-
"color": "red",
|
|
81
|
-
"base": 3,
|
|
82
|
-
"bangs": 0,
|
|
83
|
-
"beard": 0,
|
|
84
|
-
"mustache": 0,
|
|
85
|
-
"flower": 1
|
|
86
|
-
},
|
|
87
|
-
"skin": "915533",
|
|
88
|
-
"shirt": "pink",
|
|
89
|
-
"chair": "none",
|
|
90
|
-
"size": "slim",
|
|
91
|
-
"background": "violet",
|
|
92
|
-
"costume": false
|
|
93
|
-
},
|
|
94
|
-
"stats": {
|
|
95
|
-
"class": "rogue",
|
|
96
|
-
"buffs": {
|
|
97
|
-
"seafoam": false,
|
|
98
|
-
"shinySeed": false,
|
|
99
|
-
"spookySparkles": false,
|
|
100
|
-
"snowball": false
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"memberCount": 2,
|
|
107
|
-
"challengeCount": 0,
|
|
108
|
-
"balance": 0,
|
|
109
|
-
"managers": {},
|
|
110
|
-
"categories": [],
|
|
111
|
-
"leader": {
|
|
112
|
-
"auth": {
|
|
113
|
-
"local": {
|
|
114
|
-
"username": "test"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"flags": {
|
|
118
|
-
"verifiedUsername": true
|
|
119
|
-
},
|
|
120
|
-
"profile": {
|
|
121
|
-
"name": "test"
|
|
122
|
-
},
|
|
123
|
-
"_id": "c5dece22-3b0c-4e30-a6e7-34c2524224db",
|
|
124
|
-
"id": "c5dece22-3b0c-4e30-a6e7-34c2524224db"
|
|
125
|
-
},
|
|
126
|
-
"summary": "test's Party",
|
|
127
|
-
"id": "d27c2e74-a65a-42cc-9ac4-46966242cb1f"
|
|
128
|
-
},
|
|
129
|
-
"notifications": [],
|
|
130
|
-
"userV": 797,
|
|
131
|
-
"appVersion": "5.35.3"
|
|
132
|
-
}
|
|
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
|
{habiticalib-0.4.4 → habiticalib-0.4.6}/tests/__snapshots__/test_avatar/test_generate_avatar.png
RENAMED
|
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
|
|
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
|