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

Method post

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

Source from the content-addressed store, hash-verified

430 CompareConstants.AND),
431 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
432 def post(self, request: Request, workspace_id: str, application_id: str):
433 return result.success(
434 ApplicationOperateSerializer(
435 data={'application_id': application_id, 'workspace_id': workspace_id, 'user_id': request.user.id})
436 .speech_to_text({'file': request.FILES.get('file')}))
437
438
439class TextToSpeech(APIView):

Callers

nothing calls this directly

Calls 4

successMethod · 0.45
speech_to_textMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected