Skip to content

Commit

Permalink
fix: 更改用户数据类型注释
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsSov8forUs committed May 16, 2024
1 parent 6aa72fd commit 1e1efa2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='tsugu-api-python',
version='1.1.3',
version='1.1.4',
author='WindowsSov8',
author_email='[email protected]',
description='Tsugu BanGDream Bot 的功能 API 统合包',
Expand Down
4 changes: 2 additions & 2 deletions tsugu_api/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class _TsuguUser(TypedDict):
'''用户数据'''
user_id: str
platform: str
server_mode: _Server
default_server: list[_Server]
server_mode: _ServerId
default_server: list[_ServerId]
car: bool
server_list: list[_TsuguUserServer]

Expand Down
4 changes: 2 additions & 2 deletions tsugu_api_async/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ class _TsuguUser(TypedDict):
'''用户数据'''
user_id: str
platform: str
server_mode: _Server
default_server: list[_Server]
server_mode: _ServerId
default_server: list[_ServerId]
car: bool
server_list: list[_TsuguUserServer]

Expand Down

0 comments on commit 1e1efa2

Please sign in to comment.