Skip to content

Commit bf3a9f9

Browse files
committed
Update Stream game_id annotation
Update Stream game_id annotation to str
1 parent 6785543 commit bf3a9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twitchio/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ class Stream:
10681068
The current stream ID.
10691069
user: :class:`~twitchio.PartialUser`
10701070
The user who is streaming.
1071-
game_id: :class:`int`
1071+
game_id: :class:`str`
10721072
Current game ID being played on the channel.
10731073
game_name: :class:`str`
10741074
Name of the game being played on the channel.
@@ -1116,7 +1116,7 @@ class Stream:
11161116
def __init__(self, http: "TwitchHTTP", data: dict):
11171117
self.id: int = data["id"]
11181118
self.user = PartialUser(http, data["user_id"], data["user_name"])
1119-
self.game_id: int = data["game_id"]
1119+
self.game_id: str = data["game_id"]
11201120
self.game_name: str = data["game_name"]
11211121
self.type: str = data["type"]
11221122
self.title: str = data["title"]

0 commit comments

Comments
 (0)