Don't make session a keyword only argument.
This commit is contained in:
parent
84f38b166e
commit
754f3a2ae9
@ -131,7 +131,7 @@ class AsyncWebhookAdapter(WebhookAdapter):
|
|||||||
The session to use to send requests.
|
The session to use to send requests.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, *, session):
|
def __init__(self, session):
|
||||||
self.session = session
|
self.session = session
|
||||||
self.loop = session.loop
|
self.loop = session.loop
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user