MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / new_field

Method new_field

keepercommander/vault.py:196–201  ·  view source on GitHub ↗
(cls, name, value)

Source from the content-addressed store, hash-verified

194
195 @classmethod
196 def new_field(cls, name, value):
197 cf = CustomField()
198 cf.type = 'text'
199 cf.name = sanitize_str_field_value(name)
200 cf.value = sanitize_str_field_value(value)
201 return cf
202
203
204class AttachmentFileThumb:

Callers

nothing calls this directly

Calls 2

sanitize_str_field_valueFunction · 0.85
CustomFieldClass · 0.70

Tested by

no test coverage detected