mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-06 15:45:36 +01:00
Add linters configs
This commit is contained in:
@@ -7,7 +7,7 @@ class WebhookSender:
|
||||
@classmethod
|
||||
async def _make_request(cls, webhook: WebhookConfig):
|
||||
async with httpx.AsyncClient() as client:
|
||||
request_maker= getattr(client, webhook.method)
|
||||
request_maker = getattr(client, webhook.method)
|
||||
await request_maker(webhook.url, headers=webhook.headers)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user