+
    8i	                    H    R t ^ RIHt ^ RIHtHt  ! R R4      t]! 4       tR# )zTools for working with read concerns.

.. seealso:: This module is compatible with both the synchronous and asynchronous PyMongo APIs.
)annotations)AnyOptionalc                      ] tR t^tRtRR R llt]R R l4       t]R R l4       t]R	 R
 l4       t	R R lt
R R ltRtR# )ReadConcernar  ReadConcern

:param level: (string) The read concern level specifies the level of
      isolation for read operations.  For example, a read operation using a
      read concern level of ``majority`` will only return data that has been
      written to a majority of nodes. If the level is left unspecified, the
      server default will be used.

.. versionadded:: 3.2

Nc                    V ^8  d   QhRRRR/# )   levelOptional[str]returnNone )formats   "R/var/www/html/photoedit/myenv/lib/python3.14/site-packages/pymongo/read_concern.py__annotate__ReadConcern.__annotate__%   s     R Rm Rt R    c                	t    Ve   \        V\        4      '       d	   Wn        R # \        R\	        V4       24      h)Nz$level must be a string or None, not )
isinstancestr_ReadConcern__level	TypeErrortype)selfr	   s   &&r   __init__ReadConcern.__init__%   s/    =Juc22 LB4;-PQQr   c                   V ^8  d   QhRR/# )r   r   r
   r   )r   s   "r   r   r   ,   s      } r   c                    V P                   # )zThe read concern level.)r   r   s   &r   r	   ReadConcern.level+   s     ||r   c                   V ^8  d   QhRR/# )r   r   boolr   )r   s   "r   r   r   1   s     ; ;t ;r   c                L    V P                   RJ ;'       g    V P                   R8H  # )zTReturn ``True`` if this read concern is compatible with
old wire protocol versions.
Nlocalr	   r   s   &r   ok_for_legacyReadConcern.ok_for_legacy0   s$    
 zzT!::TZZ7%::r   c                   V ^8  d   QhRR/# )r   r   zdict[str, Any]r   )r   s   "r   r   r   8   s     
 
. 
r   c                L    / pV P                   '       d   V P                  VR&   V# )zThe document representation of this read concern.

.. note::
  :class:`ReadConcern` is immutable. Mutating the value of
  :attr:`document` does not mutate this :class:`ReadConcern`.
r	   )r   r	   )r   docs   & r   documentReadConcern.document7   s$     <<<::CL
r   c                    V ^8  d   QhRRRR/# )r   otherr   r   r!   r   )r   s   "r   r   r   D   s      C D r   c                	l    \        V\        4      '       d   V P                  VP                  8H  # \        # N)r   r   r*   NotImplemented)r   r-   s   &&r   __eq__ReadConcern.__eq__D   s(    e[))==ENN22r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r   I   s      # r   c                	P    V P                   '       d   R V P                   ,          # R# )zReadConcern(%s)zReadConcern()r$   r   s   &r   __repr__ReadConcern.__repr__I   s    :::$tzz11r   )__levelr/   )__name__
__module____qualname____firstlineno____doc__r   propertyr	   r%   r*   r1   r5   __static_attributes__r   r   r   r   r      sX    
R   ; ; 
 

 r   r   N)r<   
__future__r   typingr   r   r   DEFAULT_READ_CONCERNr   r   r   <module>rB      s'    #  4 4n #} r   