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

Method enumerate_fields

keepercommander/vault.py:914–921  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

912 self.last_modified = sanitize_int_field_value(data.get('lastModified'), default=None)
913
914 def enumerate_fields(self): # type: () -> Iterable[Tuple[str, Union[None, str, List[str]]]]
915 for pair in super(FileRecord, self).enumerate_fields():
916 yield pair
917 yield '(type)', self.get_record_type()
918 yield '(name)', self.name
919 if self.mime_type:
920 yield '(mime-type)', self.mime_type
921 yield '(size)', KeeperRecord.size_to_str(self.size)
922
923
924class ApplicationRecord(KeeperRecord):

Callers 8

matches_record_tokensFunction · 0.45
matches_recordFunction · 0.45
enumerate_fieldsMethod · 0.45
enumerate_fieldsMethod · 0.45
enumerate_fieldsMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45

Calls 2

get_record_typeMethod · 0.95
size_to_strMethod · 0.80

Tested by

no test coverage detected