MCPcopy Create free account
hub / github.com/adobe/Marinus / __init__

Method __init__

python3_cron_scripts/libs3/ZoneManager.py:53–59  ·  view source on GitHub ↗

Initialize the MongoDB Connector

(self, mongo_connector)

Source from the content-addressed store, hash-verified

51 return logging.getLogger(__name__)
52
53 def __init__(self, mongo_connector):
54 """
55 Initialize the MongoDB Connector
56 """
57 self._logger = self._log()
58 self.mongo_connector = mongo_connector
59 self.zone_collection = mongo_connector.get_zone_connection()
60
61 def _check_valid_status(self, status):
62 if (

Callers

nothing calls this directly

Calls 2

_logMethod · 0.95
get_zone_connectionMethod · 0.45

Tested by

no test coverage detected