Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ _get_database
Method
_get_database
celery/backends/mongodb.py:317–319 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
315
args, dict(kwargs, expires=self.expires, url=self.url))
316
317
def
_get_database(self):
318
conn = self._get_connection()
319
return
conn[self.database_name]
320
321
@cached_property
322
def
database(self):
Callers
1
database
Method · 0.95
Calls
1
_get_connection
Method · 0.95
Tested by
no test coverage detected