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

Method get_zone

python3_cron_scripts/libs3/ZoneManager.py:187–195  ·  view source on GitHub ↗

Fetch the full individual zone record. This is not a static method since it would probably be called repeatedly.

(self, zone)

Source from the content-addressed store, hash-verified

185 return res
186
187 def get_zone(self, zone):
188 """
189 Fetch the full individual zone record.
190 This is not a static method since it would probably be called repeatedly.
191 """
192
193 return self.mongo_connector.perform_find_one(
194 self.zone_collection, {"zone": zone}
195 )
196
197 def get_zones_by_status(self, status):
198 """

Callers

nothing calls this directly

Calls 1

perform_find_oneMethod · 0.80

Tested by

no test coverage detected