Joachim Jablon

Results 391 comments of Joachim Jablon

See https://docs.python.org/3/library/typing.html#typing.overload to properly indicate with mypy that arguments are mutually exclusive

Ah interesting ! Would you like to participate in a PR to fix this ? Otherwise, I can't promise when I'll have time to try a fix, but we'll definitely...

Maybe the best would be to make a DjangoConnector ? Or split the Psycopg2Connector logic by creating a "ConnectionProvider" class, which would have a default implementation that creates a pool...

Maybe it's ok as a first step if we have a different connector for deferring and for workers, but I believe you may want to use the ORM in the...

> I think the easiest way to make it work for Django is to rewrite the procrastinate worker in a synchronous way Yes, I think so too.

> Final question: do you support anything similar to Celery's task chains, where one task's output is fed to the input of the next task in a sequence? Well, given...

From my point of view, it's fine if it's not done soon, and I'll be glad to provide some help or guidance :) But if people want to tackle some...

Hm, a few months apart, I realize I gave a different answer regarding storing tasks. https://github.com/peopledoc/procrastinate/issues/419 @elemoine What's your opinion on that ?

One thing I see that might make things a bit more complicated is that the format for query parameters is different in aiopg (`%(name)s`) and asyncpg (`$n`). That being said,...