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

Method update

label_studio/projects/serializers.py:301–305  ·  view source on GitHub ↗
(self, instance, validated_data)

Source from the content-addressed store, hash-verified

299 return value
300
301 def update(self, instance, validated_data):
302 if validated_data.get('show_collab_predictions') is False:
303 instance.model_version = ''
304
305 return super().update(instance, validated_data)
306
307 def get_queue_total(self, project) -> int:
308 remain = project.tasks.filter(

Callers 3

_update_tasks_statesMethod · 0.45
delete_predictionsMethod · 0.45
_fill_label_config_hashFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected