#32076: Adding async methods to BaseCache
-------------------------------------+-------------------------------------
Reporter: Andrew Chen Wang | Owner: nobody
Type: New feature | Status: new
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: cache | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Andrew Chen Wang):
* needs_tests: 0 => 1
Comment:
> Please let me know if that is out of scope though.
I think it's out of scope since Django signals are still synchronous I
believe...
I've also added test for the DummyCache by when inheriting BaseCache, I
just set up the methods like so:
{{{
async def set_async(self, *args, **kwargs):
return self.set(*args, **kwargs)
}}}
Let me know if I should just use the argument names themselves.
--
Ticket URL: <https://code.djangoproject.com/ticket/32076#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/074.717ede2c8fafa5ee74e6f609cdb7a76b%40djangoproject.com.