MCPcopy Create free account
hub / github.com/HumanSignal/label-studio / perform_destroy

Method perform_destroy

label_studio/projects/api.py:417–420  ·  view source on GitHub ↗
(self, instance)

Source from the content-addressed store, hash-verified

415 return super(ProjectAPI, self).patch(request, *args, **kwargs)
416
417 def perform_destroy(self, instance):
418 # we don't need to relaculate counters if we delete whole project
419 with temporary_disconnect_all_signals():
420 instance.delete()
421
422 @extend_schema(exclude=True)
423 @api_webhook(WebhookAction.PROJECT_UPDATED)

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45

Tested by

no test coverage detected