MCPcopy Create free account
hub / github.com/celery/celery / database

Method database

celery/backends/mongodb.py:322–327  ·  view source on GitHub ↗

Get database from MongoDB connection. performs authentication if necessary.

(self)

Source from the content-addressed store, hash-verified

320
321 @cached_property
322 def database(self):
323 """Get database from MongoDB connection.
324
325 performs authentication if necessary.
326 """
327 return self._get_database()
328
329 @cached_property
330 def collection(self):

Callers 1

_get_connectionMethod · 0.80

Calls 1

_get_databaseMethod · 0.95

Tested by

no test coverage detected