Hadrien David

Results 6 issues of Hadrien David

Due to old version of pyflakes ```bash $ echo "foo = f'{bar}'" | python lint.py --pyflakes Traceback (most recent call last): File "lint.py", line 405, in for lint_warning in lint(stdin_lines,...

Added [Fastapi-SQLA](https://github.com/dialoguemd/fastapi-sqla) to the list in the ORM section in alphabetical order. ## Why is it awesome? 1. It support latest SQLAlchemy development and best practices: [asyncio support](https://docs.sqlalchemy.org/en/14/orm/extensions/asyncio.html), [2.0 syntax](https://docs.sqlalchemy.org/en/14/changelog/migration_20.html),...

# Problem * Tip 6 example uses `typing.AsyncIterator` * `typing.AsyncIterator` is [deprecated since python 3.9](https://docs.python.org/3/library/typing.html#typing.AsyncIterator) # Solution * Use [`collections.abc.AsyncIterator`](https://docs.python.org/3/library/collections.abc.html#collections.abc.AsyncIterator) that now supports subscripting (`[]`) # Note * Am I...

![image](https://github.com/dialoguemd/fastapi-sqla/assets/75603/59edba30-e205-4998-a720-48d904ac3ce6)

Added [FastSQLA](https://github.com/hadrien/FastSQLA) to the list in the ORM section in alphabetical order. # Why is it awesome? 1. It support latest SQLAlchemy>=2.0 development and best practices: asyncio support, 2.0 syntax,...