ml_to_celery

dev
AlexP077 2 years ago
parent 261dddda64
commit 65aad125f7

@ -363,7 +363,7 @@ class PrePlacementPointViewSet(PlacementPointViewSet):
file_id = request.POST['id']
total, matched, problem = PointService().start_mathing(file_id)
PointService.make_enrichment()
raschet('service_preplacementpoint')
raschet.delay('service_preplacementpoint')
return Response(
{'message': {'total': total, 'matched': matched, 'error': problem, 'unmatched': total - matched - problem}},
status=HTTPStatus.OK,

Loading…
Cancel
Save