+
    8i.                    v   R t ^ RIHt ^ RIt^ RIt^ RIHtHtHtH	t	H
t
HtHtHt ^ RIHt ^ RIHtHtHt ^ RIHt ^ RIHtHt ^ RIHtHtHt ^ R	IHt ^ R
IH t  ^ RI!H"t"H#t# ]'       dG   ^ RIH$t$ ^ RIH%t%H&t&H't' ^ RIH(t( ^ RI)H*t* ^ RI+H,t, ^ RI-H.t. ^ RI/H0t0 ^ RI1H2t2 ^ RI3H4t4H5t5H6t6H7t7 ^ RI8H9t9 Rt:RR R llt;R# )z&Internal network layer helper methods.)annotationsN)TYPE_CHECKINGAnyMappingMutableMappingOptionalSequenceUnioncast)_decode_all_selective)_csothelpers_sharedmessage)_NO_COMPRESSION)NotPrimaryErrorOperationFailure)_COMMAND_LOGGER_CommandStatusMessage
_debug_log)_OpMsg)_is_speculative_authenticate)receive_messagesendall)CodecOptions)SnappyContextZlibContextZstdContext)_EventListeners)ReadConcern)_ServerMode)ClientSession)MongoClient)
Connection)_Address_CollationIn_DocumentOut_DocumentType)WriteConcernTc          .     t    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRRRRRRRRRRRR R!RR"RR#R$R%RR&R'R(R)/# )*   connr"   dbnamestrspeczMutableMapping[str, Any]	is_mongosboolread_preferencezOptional[_ServerMode]codec_optionszCodecOptions[_DocumentType]sessionzOptional[ClientSession]clientzOptional[MongoClient[Any]]checkallowable_errorsz#Optional[Sequence[Union[str, int]]]addresszOptional[_Address]	listenerszOptional[_EventListeners]max_bson_sizezOptional[int]read_concernzOptional[ReadConcern]parse_write_concern_error	collationzOptional[_CollationIn]compression_ctxz4Union[SnappyContext, ZlibContext, ZstdContext, None]
use_op_msgunacknowledgeduser_fieldszOptional[Mapping[str, Any]]exhaust_allowedwrite_concernzOptional[WriteConcern]returnr&    )formats   "Y/var/www/html/photoedit/myenv/lib/python3.14/site-packages/pymongo/synchronous/network.py__annotate__rF   =   s    m m
mm #m 	m
 +m /m %m 'm m :m  m )m !m (m  $m  &!m" J#m$ %m& 'm( -)m* +m, *-m. /m    c                D   \        \        V4      4      pVR,           pRpTpV'       d%   V'       g   Vf   Q h\        P                  ! W$4      pV'       dU   V'       d   VP                  '       g;   VP
                  '       d   VP                  VR&   V'       d   VP                  W 4       Ve   WR&   VRJ;'       d    VP                  p\        P                  P                  4       pV'       d   \        VV4      pV'       d   VP                  4       \        9   d   RpV'       dM   VP                  '       d;   VP                  P                  '       g   VP                  P!                  WV4      ;ppV'       d   V P#                  Wr4       \$        P&                  ! VV4       V'       d   V'       d   \(        P*                  M^ pTV'       d   \(        P,                  M^ ,          p\        P.                  ! VW!WEVR7      w  pppp V'       d$   Ve    V V8  d   \        P0                  ! VVV4       M!\        P2                  ! ^ V^ RVRVV4      w  pppVeJ   VV\        P4                  ,           8  d.   \        P0                  ! VVV\        P4                  ,           4       Ve   \6        P8                  ! \:        P<                  4      '       d   \?        \6        \@        PB                  VPD                  PF                  V\        \        V4      4      VVVV PH                  V PJ                  V PL                  ^ ,          V PL                  ^,          V PN                  R7       V'       d8   Vf   Q hV
f   Q hVPQ                  VVVV
V PJ                  V PN                  R7        \S        V PT                  PV                  V4       V'       d   V'       d   Rp!R	^/p"M\Y        V V4      p!V!PZ                  V n-        V!P]                  VVR
7      p#V#^ ,          p"V P^                  '       g!   V"Pa                  R4      p$V$'       d   V$V n1        V'       d   VPe                  V"V4       V'       d%   \f        Ph                  ! V"V Pj                  V	VR7       \        P                  P                  4       V,
          p&Ve   \6        P8                  ! \:        P<                  4      '       d   \?        \6        \@        P|                  VPD                  PF                  V&V"\        \        V4      4      VVVV PH                  V PJ                  V PL                  ^ ,          V PL                  ^,          V PN                  RV9   R7       V'       d;   Vf   Q hV
f   Q hVP                  V&V"VVV
V PJ                  V PN                  VVR7	       V'       db   VP                  '       dP   V!'       dH   VP                  P                  V!P                  4       4      p(\        R\        V(VV4      ^ ,          4      p"V"#   \l         Edz   p%\        P                  P                  4       T,
          p&\o        T%\p        \r        34      '       d   T%Pt                  p'M\        Pv                  ! T%4      p'Te   \6        P8                  ! \:        P<                  4      '       d   \?        \6        \@        Px                  TPD                  PF                  T&T'\        \        T4      4      TTTT PH                  T PJ                  T PL                  ^ ,          T PL                  ^,          T PN                  \o        T%\r        4      R7       T'       d:   Tf   Q hT
f   Q hTP{                  T&T'TTT
T PJ                  T PN                  TR7       h Rp%?%ii ; i)aq  Execute a command over the socket, or raise socket.error.

:param conn: a Connection instance
:param dbname: name of the database on which to run the command
:param spec: a command document as an ordered dict type, eg SON.
:param is_mongos: are we connected to a mongos?
:param read_preference: a read preference
:param codec_options: a CodecOptions instance
:param session: optional ClientSession instance.
:param client: optional MongoClient instance for updating $clusterTime.
:param check: raise OperationFailure if there are errors
:param allowable_errors: errors to ignore if `check` is True
:param address: the (host, port) of `conn`
:param listeners: An instance of :class:`~pymongo.monitoring.EventListeners`
:param max_bson_size: The maximum encoded bson size for this server
:param read_concern: The read concern for this command.
:param parse_write_concern_error: Whether to parse the ``writeConcernError``
    field in the command response.
:param collation: The collation for this command.
:param compression_ctx: optional compression Context.
:param use_op_msg: True if we should use OP_MSG.
:param unacknowledged: True if this is an unacknowledged command.
:param user_fields: Response fields that should be decoded
    using the TypeDecoders from codec_options, passed to
    bson._decode_all_selective.
:param exhaust_allowed: True if we should enable OP_MSG exhaustAllowed.
z.$cmdFNreadConcernr;   )ctx)r   clientIdcommandcommandNamedatabaseName	requestIdoperationIddriverConnectionIdserverConnectionId
serverHost
serverPort	serviceId)
service_idok)r1   r?   z$clusterTime)r:   )r   rK   
durationMSfailurerM   rN   rO   rP   rQ   rR   rS   rT   rU   isServerSideError)rV   database_namespeculativeAuthenticate)r   rK   rX   replyrM   rN   rO   rP   rQ   rR   rS   rT   rU   speculative_authenticate)rV   speculative_hellor[   r%   )Dnextiterr   _maybe_add_read_preferencein_transactionleveldocument_update_read_concernenabled_for_commandsdatetimenowr   lowerr   
_encrypter_bypass_auto_encryptionencryptapply_timeoutr   apply_write_concernr   MORE_TO_COMEEXHAUST_ALLOWED_op_msg_raise_document_too_large_query_COMMAND_OVERHEADr   isEnabledForloggingDEBUGr   r   STARTED_topology_settings_topology_ididserver_connection_idr6   rV   publish_command_startr   r*   get_connr   more_to_comeunpack_responsereadyget_cluster_time_process_responser   _check_command_responsemax_wire_version	Exception
isinstancer   r   details_convert_exceptionFAILEDpublish_command_failure	SUCCEEDEDpublish_command_successdecryptraw_command_responser
   r   ))r*   r+   r-   r.   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   namensr_   origpublishstartflags
request_idmsgsizemax_doc_sizer]   response_docunpacked_docscluster_timeexcdurationrY   	decrypteds)   &&&&&&&&&&&&&&&&&&&&&&                   rE   rL   rL   =   s;   f T
D	'	B D***11$HW)?)?)?"."7"7D((4%[t#FF	(F(FG!!#E8tD4::<?:&###F,=,=,U,U,U''//mLLt 6(	dM2'5##1?''A.5oo4_/
+
C|
 m7L=<X--dD-H 'r1b$m_!

C  TMG<U<U,U%U))$mgF_F_6_`''66-5522?? d,#$&#'77#'#<#<<<?<<?// $$$"""''%% 	( 	
A		""C(.E*.L#D*5E % 2 2D!11+ 2 M )+L:::+//?)5D&((w?66 ))$.G	Z   $$&.H''66-7722??#" d,#$&#'77#'#<#<<<?<<?//)Bd)J" $$$"""))%%/  	* 
	
 &###%%--e.H.H.JK	1)]KXYZ[
 a  &$$((*U2cO-=>??$'KKG005G++GMM::#188#66CC'# $T$Z 0!'( *'+ww'+'@'@#||A#||A"oo&06F&G" (((&&&--))??$ . 	 	M&sE   /X X A#X 8X X !$X ^&B^8B'^ :^^)TNNNNNFNNFFNFN)<__doc__
__future__r   ri   rx   typingr   r   r   r   r   r   r	   r
   bsonr   pymongor   r   r   pymongo.compression_supportr   pymongo.errorsr   r   pymongo.loggerr   r   r   pymongo.messager   pymongo.monitoringr   pymongo.network_layerr   r   r   r   r   r   r   pymongo.read_concernr   pymongo.read_preferencesr   "pymongo.synchronous.client_sessionr     pymongo.synchronous.mongo_clientr!   pymongo.synchronous.poolr"   pymongo.typingsr#   r$   r%   r&   pymongo.write_concernr'   _IS_SYNCrL   rC   rG   rE   <module>r      s    - "  	 	 	 ' 2 2 7 N M " ;
 !SS204@<3SS2m mrG   