Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] #14 - Missing emojis field #15

Merged
merged 4 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chzzkpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
__author__ = "gunyu1019"
__license__ = "MIT"
__copyright__ = "Copyright 2024-present gunyu1019"
__version__ = "1.0.0" # version_info.to_string()
__version__ = "1.0.1" # version_info.to_string()


class VersionInfo(NamedTuple):
Expand All @@ -57,5 +57,5 @@ def to_string(self) -> str:


version_info: VersionInfo = VersionInfo(
major=1, minor=0, micro=0, release_level=None, serial=0
major=1, minor=0, micro=1, release_level=None, serial=0
)
2 changes: 1 addition & 1 deletion chzzkpy/chat/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ExtraBase(ChzzkModel):

class Extra(ExtraBase):
chat_type: str
emojis: Any
emojis: Optional[Any] = None
os_type: Literal["PC", "AOS", "IOS"]
streaming_channel_id: str

Expand Down
10 changes: 5 additions & 5 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
aiohttp==3.9.3
aiosignal==1.3.1
annotated-types==0.6.0
annotated-types==0.7.0
async-timeout==4.0.3
ahttp_client==1.0.0
ahttp_client==1.0.1
attrs==23.2.0
charset-normalizer==3.3.2
frozenlist==1.4.1
idna==3.6
multidict==6.0.5
pydantic==2.6.2
pydantic_core==2.16.3
typing_extensions==4.9.0
pydantic==2.8.2
pydantic_core==2.20.1
typing_extensions==4.12.2
yarl==1.9.4
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ aiosignal==1.3.1
# -r requirements.in
# ahttp-client
# aiohttp
annotated-types==0.6.0
annotated-types==0.7.0
# via
# -r requirements.in
# pydantic
Expand Down Expand Up @@ -49,13 +49,13 @@ multidict==6.0.5
# ahttp-client
# aiohttp
# yarl
pydantic==2.6.3
pydantic==2.8.2
# via -r requirements.in
pydantic-core==2.16.3
pydantic-core==2.20.1
# via
# -r requirements.in
# pydantic
typing-extensions==4.10.0
typing-extensions==4.12.2
# via
# -r requirements.in
# pydantic
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
raise RuntimeError("version is not set")


extras_require = {
"test": ["pytest", "pytest-cov"],
"lint": ["pycodestyle", "black"]
}
extras_require = {"test": ["pytest", "pytest-cov"], "lint": ["pycodestyle", "black"]}

setup(
name="chzzkpy",
Expand Down
Loading