File: //home/arjun/projects/env/lib/python3.10/site-packages/kombu/__pycache__/matcher.cpython-310.pyc
o
'we� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZm Z ddl
mZ ddlm
Z
eeegef ZG d d
� d
e�ZG dd� d�Ze� Z ejZ ejZ ejZddd�Zddd�Ze� e� e�d� ed�D ]
\ZZeejge�R � qgdS )zPattern matching registry.� )�annotations)�fnmatch)�match)�Callable�cast� )�entrypoints)�bytes_to_strc @ s e Zd ZdZdS )�MatcherNotInstalledzMatcher not installed/found.N)�__name__�
__module__�__qualname__�__doc__� r r �F/home/arjun/projects/env/lib/python3.10/site-packages/kombu/matcher.pyr
s r
c @ sR e Zd ZdZeZdgZddd�Zddd�Zdd
d�Zddd�Z dddd�Z
dS ) �MatcherRegistryz#Pattern matching function registry.�pcre�return�Nonec C s i | _ d | _d S )N)� _matchers�_default_matcher)�selfr r r �__init__ s
zMatcherRegistry.__init__�name�str�matcher�MatcherFunctionc C s || j |<