Skip to content

Commit

Permalink
Bump pypi version
Browse files Browse the repository at this point in the history
  • Loading branch information
thesadru committed Sep 12, 2022
1 parent 082bfc0 commit e195dea
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

# 1.2.3 (2020-08-05)
# 1.2.4 (2022-09-12)

## Fixes

- Added dendoruculus to chronicle stats.
- Added new genshin and honkai characters.

# 1.2.3 (2022-08-05)

## What's new

Expand Down
5 changes: 3 additions & 2 deletions genshin/models/honkai/chronicle/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from genshin.models import hoyolab
from genshin.models.model import Aliased, APIModel

from . import battlesuits, modes
from . import battlesuits as honkai_battlesuits
from . import modes

__all__ = [
"FullHonkaiUserStats",
Expand Down Expand Up @@ -256,7 +257,7 @@ class HonkaiUserStats(APIModel):
class FullHonkaiUserStats(HonkaiUserStats):
"""Represents a user's full stats, including characters, gear, and gamemode data"""

battlesuits: typing.Sequence[battlesuits.FullBattlesuit]
battlesuits: typing.Sequence[honkai_battlesuits.FullBattlesuit]
abyss: typing.Sequence[typing.Union[modes.SuperstringAbyss, modes.OldAbyss]]
memorial_arena: typing.Sequence[modes.MemorialArena]
elysian_realm: typing.Sequence[modes.ElysianRealm]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="genshin",
version="1.2.3",
version="1.2.4",
author="thesadru",
author_email="[email protected]",
description="An API wrapper for Genshin Impact.",
Expand Down
7 changes: 3 additions & 4 deletions tests/client/components/test_wiki.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import genshin

# async def test_wiki_previews(client: genshin.Client):
# preview = await client.get_wiki_previews(genshin.models.WikiPageType.CHARACTER)

async def test_wiki_previews(client: genshin.Client):
preview = await client.get_wiki_previews(genshin.models.WikiPageType.CHARACTER)

assert preview
# assert preview


async def test_wiki_page(client: genshin.Client):
Expand Down

0 comments on commit e195dea

Please sign in to comment.