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

Method __init__

keepercommander/attachment.py:154–158  ·  view source on GitHub ↗
(self, file_path, is_script=False)

Source from the content-addressed store, hash-verified

152
153class FileUploadTask(UploadTask):
154 def __init__(self, file_path, is_script=False):
155 super().__init__()
156 self.file_path = file_path
157 self.name = os.path.basename(self.file_path)
158 self.is_script = is_script
159
160 def prepare(self):
161 self.file_path = os.path.expanduser(self.file_path)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected