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/apps.py

25 lines
556 B

4 years ago
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# project: 3月
# author: liuyu
# date: 2020/3/4
import logging
4 years ago
from api.utils.auth import ApiTokenAuthentication
3 years ago
from api.views.apps import AppsView, AppInfoView, AppReleaseInfoView
4 years ago
logger = logging.getLogger(__name__)
class CliAppsView(AppsView):
authentication_classes = [ApiTokenAuthentication, ]
class CliAppInfoView(AppInfoView):
authentication_classes = [ApiTokenAuthentication, ]
3 years ago
class CliAppReleaseInfoView(AppReleaseInfoView):
4 years ago
authentication_classes = [ApiTokenAuthentication, ]