MCPcopy Create free account
hub / github.com/vastsa/FileCodeBox / update_or_create

Method update_or_create

tests/test_admin_security.py:155–157  ·  view source on GitHub ↗
(cls, key, defaults)

Source from the content-addressed store, hash-verified

153
154 @classmethod
155 async def update_or_create(cls, key, defaults):
156 cls.saved_value = defaults["value"]
157 return None, True
158
159
160class ConfigServiceSecurityTests(SettingsOverrideMixin, unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected