o
    .˜Žju  ã                   @   sÂ   d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	m
Z
mZ d dlmZ d dlmZmZmZ z
d dlmZmZ W n eyK   d dlmZmZ Y nw eee	e
eef ZeG dd	„ d	eƒƒZd
S )é    )ÚTransactionOptions)ÚCodecOptions)ÚReadConcern)ÚNearestÚPrimaryÚPrimaryPreferredÚ	SecondaryÚSecondaryPreferred)ÚWriteConcern)ÚAnyÚOptionalÚUnion)ÚProtocolÚruntime_checkablec                   @   sŒ   e Zd Zdededdfdd„Z	ddddddœdee d	ee d
ee dee	 dee
 f
dd„Zddddœdee dee defdd„ZdS )ÚDummyMongoClientÚargsÚkwargsÚreturnNc                 O   ó   t ‚©N©ÚNotImplementedError)Úselfr   r   © r   úZ/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/storage/dummy_client.pyÚ__init__)   s   zDummyMongoClient.__init__)Úcodec_optionsÚread_preferenceÚwrite_concernÚread_concernÚnamer   r   r   r   c                C   r   r   r   )r   r    r   r   r   r   r   r   r   Úget_database,   s   	zDummyMongoClient.get_databaseF)Úcausal_consistencyÚdefault_transaction_optionsÚsnapshotr"   r#   r$   c                Ã   s   �t ‚r   r   )r   r"   r#   r$   r   r   r   Ústart_session7   s   €zDummyMongoClient.start_sessionr   )Ú__name__Ú
__module__Ú__qualname__r   r   r   Ústrr   ÚReadPreferencesr
   r   r!   Úboolr   r%   r   r   r   r   r   '   s:    þùþüûú
ùûýüûr   N)Úpymongo.client_sessionr   Úbson.codec_optionsr   Úpymongo.read_concernr   Úpymongo.read_preferencesr   r   r   r   r	   Úpymongo.write_concernr
   Útypingr   r   r   r   r   ÚImportErrorÚtyping_extensionsr*   r   r   r   r   r   Ú<module>   s   ÿ