Marat Sharafutdinov
Marat Sharafutdinov
There are several places where `deepcopy` is used with `FeedParserDict` instance. It raises KeyError since there is a row `copier = getattr(x, "__deepcopy__", None)` within `copy.deepcopy` function: ``` KeyError: '__deepcopy__'...
Currently every operation should be called with `timeout` parameter to catch timeout of operations. With `operation_timeout` parameter of connection it would be much easier.
I think it would be convenient.
Don't know how I got this but I have to report the following traceback: ``` ValueError: Channel 1 already used File "aio_pika/robust_connection.py", line 150, in reconnect await self.connect() File "aio_pika/robust_connection.py",...
Encoder `generate_latest` (for example) accepts registry of `CollectorRegistry` type but it doesn't accept registry of `RestrictedRegistry` type so it is not consistent. I guess `RestrictedRegistry` class should inherit `CollectorRegistry` class...
## What do these changes do? These changes save code from warnings. [asyncio.get_event_loop](https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.get_event_loop) is deprecated since Python version 3.10. ## Are there changes in behavior for the user? No. ##...
... and prepare for Python 3.11 (dev).
I think it would be useful to add `last_event_id` property to the `EventSourceResponse` class from the example: https://github.com/aio-libs/aiohttp-sse/blob/aca7808960635ff7511ff46002b7f83168f6952c/examples/graceful_shutdown.py#L14-L16 Also there is a bug at that example (`sse_response` doesn't accept `response_cls`...
I use PostgreSQL and if table is partitioned then autogeneration repeats creation of this table when it's already exist. Also Alembic generates deletion of all partitions of partitioned table. Is...
The `bindparam(expanding=True)` is intended for binding the sequence which is being used within IN expression: https://docs.sqlalchemy.org/en/13/core/sqlelement.html#sqlalchemy.sql.expression.bindparam.params.expanding. SQLAlchemy (working): ```python from sqlalchemy import Column, Integer, bindparam, create_engine, select from sqlalchemy.ext.declarative import...