MCPcopy Index your code
hub / github.com/diffgram/diffgram / remove_associated_file

Method remove_associated_file

walrus/methods/input/input_update.py:234–244  ·  view source on GitHub ↗

Take input as argument in context of trying to make these classes more modular, ie not "assuming" that input is in self.

(self, input_obj: Input)

Source from the content-addressed store, hash-verified

232 self.remove_associated_tasks(input_obj.file)
233
234 def remove_associated_file(self, input_obj: Input) -> None:
235 """
236 Take input as argument in context of trying to make these
237 classes more modular, ie not "assuming" that input is in self.
238 """
239
240 if input_obj.file and input_obj.mode != 'copy_file':
241 input_obj.file.state = "removed"
242 self.remove_compound_child_files(input_obj)
243 self.remove_associated_tasks(input_obj.file)
244 self.log['info']['prior_file_id'] = input_obj.file.id
245
246 def report_input_list_recent(
247 self,

Callers 2

retry_fileMethod · 0.95
archive_inputMethod · 0.95

Calls 2

Tested by

no test coverage detected