MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / put

Method put

apps/application/views/application.py:288–292  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, application_id: str)

Source from the content-addressed store, hash-verified

286 @log(menu='Application', operate='Publishing an application',
287 get_operation_object=lambda r, k: get_application_operation_object(k.get('application_id')))
288 def put(self, request: Request, workspace_id: str, application_id: str):
289 return result.success(
290 ApplicationOperateSerializer(
291 data={'application_id': application_id, 'user_id': request.user.id,
292 'workspace_id': workspace_id, }).publish(request.data))
293
294 class StoreApplication(APIView):
295 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
publishMethod · 0.45

Tested by

no test coverage detected