EdwardBlair
EdwardBlair
`ssl.PROTOCOL_SSLv23` has been deprecated since python 3.6 https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_SSLv23 These are currently [identical values](https://github.com/dpkp/kafka-python/blob/f19e4238fb47ae2619f18731f0e0e9a3762cfa11/kafka/conn.py#L465), but should be addressed?
### Preflight Checklist * [x] I agree to follow the [Code of Conduct](https://github.com/jgraph/drawio/blob/master/CODE_OF_CONDUCT.md) that this project adheres to. * [x] I have searched the issue tracker for a feature request...
Given [email protected] ```python # my_module.py from typing import Any from dependency_injector import resources class MyDep: ... class MyDepAsyncResource(resources.AsyncResource[MyDep]): async def init(self, *args: Any, **kwargs: Any) -> MyDep: return MyDep() async...
It would be nice if we could do the following: ```python class MyDep: def __init__(self, param: str) -> None: ... class MyDepResource(resources.AsyncResource[MyDep]): def __init__(self, argument1: str) -> None: self._argument1 =...