관리-도구
편집 파일: adapter.cpython-311.pyc
� �Dg� � �� � d dl mZ d dlZd dlZd dlZd dlmZmZmZm Z d dl mZ d dlm Z d dlmZmZ d dlmZ er d dlmZmZ d d lmZ d d lmZ d dlmZ d dlmZ G d � de� � ZdS )� )�annotationsN)� TYPE_CHECKING�Any� Collection�Mapping)�HTTPAdapter)� DictCache)�PERMANENT_REDIRECT_STATUSES�CacheController)�CallbackFileWrapper)�PreparedRequest�Response)�HTTPResponse)� BaseCache)� BaseHeuristic)� Serializerc �n � � e Zd Zh d�Z d)d*� fd� Z d+d,� fd#� Z d-d.� fd'� Zd/� fd(�Z� xZS )0�CacheControlAdapter> �PUT�PATCH�DELETENT�cache�BaseCache | None�cache_etags�bool�controller_class�type[CacheController] | None� serializer�Serializer | None� heuristic�BaseHeuristic | None�cacheable_methods�Collection[str] | None�argsr �kw�return�Nonec �� �� t � � j |i |�� |�t � � n|| _ || _ |pd| _ |pt } | | j ||�� � | _ d S )N)�GET)r r )�super�__init__r r r r"