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

Method __init__

keepercommander/vault.py:205–209  ·  view source on GitHub ↗
(self, thumb_field=None)

Source from the content-addressed store, hash-verified

203
204class AttachmentFileThumb:
205 def __init__(self, thumb_field=None): # type: (Optional[dict]) -> None
206 thumb_field = thumb_field or {}
207 self.id = sanitize_str_field_value(thumb_field.get('id'))
208 self.type = sanitize_str_field_value(thumb_field.get('type'))
209 self.size = sanitize_int_field_value(thumb_field.get('size'))
210
211
212class AttachmentFile(object):

Callers

nothing calls this directly

Calls 3

sanitize_str_field_valueFunction · 0.85
sanitize_int_field_valueFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected