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/common/core/signals.py

36 lines
833 B

#!/usr/bin/env python
# -*- coding:utf-8 -*-
# author: NinEveN
# date: 2022/2/15
import logging
from django.dispatch import Signal
logger = logging.getLogger(__name__)
"""
更新应用的时候是否同时更新超级签名数据
"""
3 years ago
run_resign_task_signal = Signal(providing_args=["app_obj"])
"""
删除应用时的信号用户清理签名相关数据
"""
3 years ago
delete_app_signal = Signal(providing_args=["app_obj"])
"""
下载超级签名数据
"""
xsign_app_download_url_signal = Signal(providing_args=["app_pk", "udid", "download_url_type", "limit"])
3 years ago
"""
迁移超级签名数据
"""
xsign_migrate_data_signal = Signal(providing_args=["app_release_obj", "user_obj", "new_storage_obj", "clean_old_data"])
"""
清理超级签名数据
"""
xsign_clean_data_signal = Signal(providing_args=["app_release_obj", "storage_obj"])