?????????? ????????? - ??????????????? - /usr/lib/python3.9/site-packages/cockpit/__pycache__/router.cpython-39.pyc
???????
a ��hP( � @ s� d dl Z d dlZd dlZd dlmZmZmZ ddlmZm Z ddl mZmZm Z e�e�ZG dd� d�ZG dd � d �ZG d d� de�ZG dd � d �ZG dd� de �ZdS )� N)�Dict�List�Optional� )� JsonObject� JsonValue)�CockpitProblem�CockpitProtocolError�CockpitProtocolServerc @ s. e Zd ZdZdd� Zdd� Zdd�dd �ZdS ) �ExecutionQueueaw Temporarily delay calls to a given set of class methods. Functions by replacing the named function at the instance __dict__ level, effectively providing an override for exactly one instance of `method`'s object. Queues the invocations. Run them later with .run(), which also reverses the redirection by deleting the named methods from the instance. c C s* t �� | _|| _| jD ]}| �|� qd S �N)�collections�deque�queue�methods�_wrap)�selfr �method� r �2/usr/lib/python3.9/site-packages/cockpit/router.py�__init__&