mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-16 05:01:56 -05:00
04ccd807cd
Fixes #387
16 lines
335 B
Python
16 lines
335 B
Python
"""
|
|
Wrapper to handle aiohttp connector creation.
|
|
---
|
|
Copyright (C) 2020-2021 classabbyamp, 0x5c
|
|
|
|
SPDX-License-Identifier: LiLiQ-Rplus-1.1
|
|
"""
|
|
|
|
|
|
import aiohttp
|
|
|
|
|
|
async def new_connector(*args, **kwargs) -> aiohttp.TCPConnector:
|
|
"""*Yes, it's just a coro to instantiate a class.*"""
|
|
return aiohttp.TCPConnector(*args, **kwargs)
|