You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flyapps/fir_ser/cli/views/uploads.py

18 lines
395 B

4 years ago
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# project: 3月
# author: liuyu
# date: 2020/3/6
from api.views.uploads import AppAnalyseView, UploadView
from common.core.auth import ApiTokenAuthentication
4 years ago
class CliAppAnalyseView(AppAnalyseView):
authentication_classes = [ApiTokenAuthentication, ]
class CliUploadView(UploadView):
authentication_classes = [ApiTokenAuthentication, ]