mirror of
https://github.com/miaowware/qrm2.git
synced 2025-02-03 09:44:07 -05:00
16 lines
335 B
Python
16 lines
335 B
Python
"""
|
|
Wrapper to handle aiohttp connector creation.
|
|
---
|
|
Copyright (C) 2020-2023 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)
|