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

Method add_note

python3_cron_scripts/libs3/ZoneManager.py:247–253  ·  view source on GitHub ↗

In the future, there should probably be restrictions on note length. For now, it is not set until more information on usage is available.

(self, zone, note)

Source from the content-addressed store, hash-verified

245 )
246
247 def add_note(self, zone, note):
248 """
249 In the future, there should probably be restrictions on note length.
250 For now, it is not set until more information on usage is available.
251 """
252
253 self.zone_collection.update_one({"zone": zone}, {"$addToSet": {"notes": note}})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected