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

Class AttachmentFileThumb

keepercommander/vault.py:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
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 2

upload_attachmentsFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected