MCPcopy Create free account
hub / github.com/WebODM/WebODM / cleanup

Function cleanup

coreplugins/lightning/api.py:142–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 project = res.json().get('id')
141
142 def cleanup():
143 try:
144 session.delete(cloud_url + f'/api/projects/{project}')
145 except Exception as e:
146 logger.warning(f"Cannot cleanup project: {str(e)}")
147
148 dzuuid = str(uuid.uuid4())
149 zs = ZipStream(sized=True)

Callers 1

share_taskFunction · 0.70

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected