Libor Martínek
Libor Martínek
Hi @andatt , I played with your example and I made it work like this: ```python from enum import Enum, EnumMeta from typing import Type from cattrs import GenConverter from...
... to follow-up my comment https://github.com/python-attrs/cattrs/issues/235#issuecomment-1074456626 : we do not need to use `register_instructure_hook_factory` at all actually, `register_unstructure_func` is all that is needed: ```python def check_enum_type(type_): """ Check whether it...
Hi @decorator-factory, I have also come across this issue and decided to resolve it this way: ```python import sqlite3 import typing as t import aiosqlite def connect( database: str, iter_chunk_size:...
Or, would the prefered solution be having a custom `@asynccontextmanager` that does all the initialization work we want? Since `aiosqlite.Connection` has all the methods mentioned above, but executes them async...
Commit https://github.com/bibajz/bitcoin-python-async-rpc/commit/645c25d0c69c5004d1f36849aeffb9a4f8a2c01e, which adds a script for running a regtest node in a Docker container, opens a possibility for creating a much better test suite. The node in the container...
Hello, I can confirm this error is still present on ``` Python 3.9.7 mypy 0.920+dev.d263a9698fb59d7a1ae0c7817ef53bb272c8d875 ``` Here is the full traceback: ``` Traceback (most recent call last): File "build_dir/py_plus_c/build/setup.py", line...
Hey @Mukhametvaleev , thanks for taking an interest in this library and raising the issue (even though you promtply closed it ;) ). --- Actually, to have the ability to...
Hi @aliqandil , thank you for using this library as well as the issue submission! I see your usecase and agree it would be a fine addition. Besides a little...
Hi Brett, I am glad you got the gist of my mail - the part you wrote > But I think the point here is that you would expect to...