supadantic icon indicating copy to clipboard operation
supadantic copied to clipboard

async methods for Qset operations

Open qedpi opened this issue 10 months ago • 5 comments

I love using this library, and think it would be awesome to have an async way to perform get/updates,

e.g. Foo.objects.get, .filter, .save is sync, and when we want to fetch many objects at once, it's better not to block the event loop

thinking of usage something like the below: await Foo.aget_async(... OR await Foo.objects.aget_async(... await Foo.afilter(... await Foo.asave(...

qedpi avatar Feb 24 '25 19:02 qedpi

Hi, @qedpi I really appreciate it when someone finds my library useful.

I'm currently spending all my free time trying to think about this issue. It seems to be the key one at the moment, but contributions are welcome. I'll take this issue into work once I've dealt with the problem above.

makridenko avatar Feb 24 '25 19:02 makridenko

I'll do it

lyaguxafrog avatar May 11 '25 13:05 lyaguxafrog

@lyaguxafrog hi! are you still in?

makridenko avatar May 27 '25 10:05 makridenko

@makridenko can u assign me? I will start researching about this issue

AlexPozh avatar Aug 10 '25 07:08 AlexPozh

@AlexPozh sure

makridenko avatar Aug 10 '25 07:08 makridenko