MCPcopy
hub / github.com/django/django / close

Method close

django/core/cache/backends/base.py:413–415  ·  view source on GitHub ↗

Close the cache connection

(self, **kwargs)

Source from the content-addressed store, hash-verified

411 return await self.aincr_version(key, -delta, version)
412
413 def close(self, **kwargs):
414 """Close the cache connection"""
415 pass
416
417 async def aclose(self, **kwargs):
418 return await sync_to_async(self.close, thread_sensitive=True)(**kwargs)

Callers 1

_is_expiredMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected