Jökull Sólberg Auðunsson
Jökull Sólberg Auðunsson
Amazing! The declarative API looks super nice. One little comment: This style, `r1, r2 = await asyncio.gather(j1.result(), j2.result())`, is not actually the same as orchestrating task results, inputs and execution....
Of course! My bad. That makes perfect sense. In this case, the declarative style is just a "nice to have". It looks like all top level requirements for my project...
Or [Tenacity](https://tenacity.readthedocs.io/en/latest/)?
```python def test_pagination(db: Session) -> None: from sqlakeyset import select_page from sqlalchemy import select select_page(db, select(Item).order_by(Item.id.desc()), 2) ``` ``` db = def test_pagination(db: Session) -> None: from sqlakeyset import select_page...
I think I figured it out. If you change ```python def test_core2(dburl): with S(dburl, echo=ECHO) as s: sel = select([Book.score]).order_by(Book.id) check_paging_core(sel, s) ``` to ```python def test_core2(dburl): with S(dburl, echo=ECHO)...
Might also want to support async sessions.
Have just been through this. It will take [significant refactoring](https://gist.github.com/jokull/4746e3ef5dd5f9d837898e8d650a2a01) to support async/await because there are two or three I/O places in the internals. The linked gist is what I...
We ended up forking. As I understand it, SQLAlchemy 2.0 will have deprecated `session.query` and allowed declarative models as selectables instead - so all queries are in the core style,...
Celery doesn't yet have a way to queue tasks without blocking the asyncio loop or resorting to `asgiref.sync_to_async`. Maybe it should be skipped for this tutorial? [arq](https://arq-docs.helpmanual.io) would be a...
> As a warning for others, the `sqlalchemy-stubs` dev dependency is also not compatible with recent `sqlalchemy` - you will get errors in editors (`vscode` at the very least), though...