+
    4O|j1
  ã                  óH   € R t ^ RIHt ^ RIHtHt  ! R R4      t]! 4       tR# )z‡Tools 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   "ÚMC:\Users\alokc\chatbot\backend\venv\Lib\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/   € ØŠ=œJ u¬c×2Ò2Ø ŽLäÐBÄ4ÈÃ;À-Ð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$   € ð
 �z‰z˜TÐ!×:Ð: T§Z¡Z°7Ñ%:Ð: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# )z¶The 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œ[×)Ò)Ø—=‘= E§N¡NÑ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   € Ø�:�:ˆ:Ø$ t§z¡zÕ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   