Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/celery/app/__pycache__/utils.cpython-39.pyc
Ðазад
a t�hh3 � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddl m Z ddlmZ ddl mZ ddlmZ dd lmZ dd lmZ ddlmZmZmZ ddlmZ d dlmZmZmZmZm Z m!Z!m"Z" dZ#dZ$e�%dej&�Z'dZ(dZ)dZ*dd� Z+G dd� de�Z,ej-fdd�Z.ej-fdd�Z/edd�Z0e0e ee/e(�Z1e0eee.e)�Z2d-dd �Z3G d!d"� d"�Z4d#d$� Z5d%d&� Z6d'd(� Z7d)d*� Z8eefd+d,�Z9dS ).z?App utilities: Compat settings, bug-report tool, pickling apps.� N)� namedtuple)�Mapping)�deepcopy)� ModuleType)�maybe_sanitize_url)�ImproperlyConfigured)�pyimplementation)�ConfigurationView)�import_from_cwd�qualname�symbol_by_name��pretty� )� _OLD_DEFAULTS�_OLD_SETTING_KEYS�_TO_NEW_KEY�_TO_OLD_KEY�DEFAULTS�SETTING_KEYS�find)�Settings�appstr� bugreport�filter_hidden_settings�find_appa software -> celery:{celery_v} kombu:{kombu_v} py:{py_v} billiard:{billiard_v} {driver_v} platform -> system:{system} arch:{arch} kernel version:{kernel_version} imp:{py_i} loader -> {loader} settings -> transport:{transport} results:{results} {human_settings} z=API|TOKEN|KEY|SECRET|PASS|PROFANITIES_LIST|SIGNATURE|DATABASEzk Cannot mix new and old setting keys, please rename the following settings to the new format: {renames} z� Cannot mix new setting names with old setting names, please rename the following settings to use the old format: {renames} Or change all of the settings to use the new format :) z{replace:<36} -> {with_}c C s | j pd� dt| �d��S )z1String used in __repr__ etc, to id app instances.�__main__z at z#x)�main�id)�app� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/celery/app/utils.pyr A s r c s� e Zd ZdZdd�� fdd� Zedd� �Zedd � �Zed d� �Zedd � �Z edd� �Z edd� �Zedd� �Zdd� Z dd� Zd*dd�Zd+dd�Zdd� Zd d!� Zd,d$d%�Zd-d&d'�Zd(d)� Z� ZS ).r zsCelery settings object. .. seealso: :ref:`configuration` for a full list of configuration keys. N)�deprecated_settingsc s t � j|i |�� || _d S �N)�super�__init__r"