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

Class ApplicationRecord

keepercommander/vault.py:924–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

922
923
924class ApplicationRecord(KeeperRecord):
925 def __init__(self):
926 super(ApplicationRecord, self).__init__()
927
928 def get_version(self):
929 return 5
930
931 def get_record_type(self):
932 return 'app'
933
934 def load_record_data(self, data, extra=None):
935 self.title = sanitize_str_field_value(data.get('title')).strip()
936
937 def enumerate_fields(self): # type: () -> Iterable[Tuple[str, Union[None, str, List[str]]]]
938 for pair in super(ApplicationRecord, self).enumerate_fields():
939 yield pair
940 yield '(type)', self.get_record_type()

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected