Skip to content

Commit 05bb2eb

Browse files
committed
fix the typing.Literal bug for eventsub
1 parent ab35c85 commit 05bb2eb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ New logo!
2222
- Added :func:`ext.pubsub.Websocket.pubsub_error` to support being notified of pubsub errors
2323
- Added :func:`ext.pubsub.Websocket.pubsub_nonce` to support being notified of pubsub nonces
2424

25+
- ext.eventsub
26+
- Patch 2.1.1 bug which breaks library on 3.7 for ext.eventsub
27+
2528
2.1.1
2629
======
2730
- Twitchio

twitchio/ext/eventsub/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import hmac
44
import hashlib
55
import logging
6-
from typing import Dict, TYPE_CHECKING, Optional, Type, Union, Literal
6+
from typing import Dict, TYPE_CHECKING, Optional, Type, Union
7+
from typing_extensions import Literal
78

89
from aiohttp import web
910

0 commit comments

Comments
 (0)