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

Method put

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

Source from the content-addressed store, hash-verified

259 @log(menu='Application', operate='Move an application',
260 get_operation_object=lambda r, k: get_application_operation_object(k.get('application_id')))
261 def put(self, request: Request, workspace_id: str, application_id: str, folder_id: str):
262 return result.success(
263 ApplicationOperateSerializer(
264 data={'application_id': application_id, 'user_id': request.user.id,
265 'workspace_id': workspace_id, }).move(folder_id))
266
267 class Publish(APIView):
268 authentication_classes = [TokenAuth]

Callers 1

_runFunction · 0.45

Calls 3

moveMethod · 0.80
successMethod · 0.45

Tested by

no test coverage detected