Replies: 7 comments 1 reply
|
Hi, if you want to support django, i think it will be better if you use the postgres driver that django uses under the hood, |
I think i need to make driver abstraction for this to come out nice. Another approach might be to sniff connections parameters from Ive mostly been using fastapi/flask, so Django is foreign to me. |
|
The problem is asyncpg is a 3.3MB dependency. Size optimization for
Do you have any particular problem that is not implementable using |
|
I used to use psycopg2 back in the day (before it got async). Since most of my projects moved to async using asyncpg was natural at that time. I do not have any objects to psycopg, but i still want to support asyncpg. So i think i need to spend a bit of time to figure out how i want to make an abstraction for the drivers(psycopg/asyncpg etc...) to plug into. |
|
Short update, ive added an abstraction layer for database connection. By passing the the a async psycopg connection to a 'psycopg-driver-class'. Still working on a few details to make this neater. PR: #37 |
|
Tabling this for now. |
|
Any luck trying to figure out a way to implement an abstraction for the driver? I'd also love to use this in a django project but prefer not to require asyncpg just for this, would be great to be able to reuse psycopg. Great looking library tho! All the best. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Write a concise guide on integrating PgQueuer with Django to leverage PostgreSQL for task management effectively. This guide will serve as a resource for Django developers to implement PgQueuer in their projects, optimizing task management capabilities.
Objectives
All reactions