Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/kombu/transport/__pycache__/memory.cpython-39.pyc
Ðазад
a o�hd � @ s` d Z ddlmZ ddlmZ ddlmZ ddlmZm Z G dd� de j �Z G d d � d e j�ZdS )a� In-memory transport module for Kombu. Simple transport using memory for storing messages. Messages can be passed only between threads. Features ======== * Type: Virtual * Supports Direct: Yes * Supports Topic: Yes * Supports Fanout: No * Supports Priority: No * Supports TTL: Yes Connection String ================= Connection string is in the following format: .. code-block:: memory:// � )�annotations)�defaultdict)�Queue� )�base�virtualc s� e Zd ZdZee�Zi ZdZdZ dd� Z dd� Zdd d �Zdd� Z d d� Zddd�Zdd� Zdd� Zdd� Zdd� Z� fdd�Zdd� Z� ZS )�ChannelzIn-memory Channel.FTc K s || j v S �N)�queues��self�queue�kwargs� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/kombu/transport/memory.py� _has_queue) s zChannel._has_queuec K s || j vrt� | j |<