+
    qpÐj¡	  ã                   ó|   € R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHt ]! 4       t ! R R	4      tR# )
únRetryHandler interface.
You can pass an array of handlers to customize retry logics in supported API clients.
N)ÚOptional)Ú
RetryState)ÚHttpRequest)ÚHttpResponse)ÚRetryIntervalCalculator)ÚBackoffRetryIntervalCalculatorc                   ó¤   a € ] tR t^t o Rt^]3V 3R lR lltRRRR/V 3R lR lltRRRR/V 3R	 lR
 lltRRRR/V 3R lR llt	V 3R lt
RtV tR# )ÚRetryHandlerr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# ©é   Úmax_retry_countÚinterval_calculator©Úintr   )ÚformatÚ__classdict__s   "€ÚN/opt/hermes/.venv/lib/python3.14/site-packages/slack_sdk/http_retry/handler.pyÚ__annotate__ÚRetryHandler.__annotate__   s   ø€ ÷ 7ñ 7áð7ñ 5ñ7ó    c                ó   € Wn         W n        R# )z£RetryHandler interface.

Args:
    max_retry_count: The maximum times to do retries
    interval_calculator: Pass an interval calculator for customizing the logic
N)r   r   )Úselfr   r   s   &&&r   Ú__init__ÚRetryHandler.__init__   s   € ð  /ÔØ#6Ö r   ÚresponseNÚerrorc          
      óX   <€ V ^8„  d   QhRS[ RS[RS[S[,          RS[S[,          RS[/# ©r   ÚstateÚrequestr   r   Úreturn©r   r   r   r   Ú	ExceptionÚbool)r   r   s   "€r   r   r   *   sI   ø€ ÷ 
ñ 
ñ ð
ñ ð	
ñ
 ™<Õ(ð
ñ ™	Õ"ð
ñ 
ñ
r   c               óf   € VP                   V P                  8¼  d   R # V P                  VVVVR7      # )F)r    r!   r   r   )Úcurrent_attemptr   Ú
_can_retry©r   r    r!   r   r   s   &$$$$r   Ú	can_retryÚRetryHandler.can_retry*   s=   € ð × Ñ  D×$8Ñ$8Ô8ÙØ�‰ØØØØð	 ó 
ð 	
r   c          
      óX   <€ V ^8„  d   QhRS[ RS[RS[S[,          RS[S[,          RS[/# r   r#   )r   r   s   "€r   r   r   ;   sI   ø€ ÷ $ñ $ñ ð$ñ ð	$ñ
 ™<Õ(ð$ñ ™	Õ"ð$ñ 
ñ$r   c               ó   € \        4       h)N)ÚNotImplementedErrorr)   s   &$$$$r   r(   ÚRetryHandler._can_retry;   s   € ô "Ó#Ð#r   c          
      óV   <€ V ^8„  d   QhRS[ RS[RS[S[,          RS[S[,          RR/# )r   r    r!   r   r   r"   N)r   r   r   r   r$   )r   r   s   "€r   r   r   E   sI   ø€ ÷ *ñ *ñ ð*ñ ð	*ñ
 ™<Õ(ð*ñ ™	Õ"ð*ð 
ñ*r   c               óª   € R Vn         V P                  P                  VP                  4      p\        P
                  ! V4       VP                  4        R# )TN)Únext_attempt_requestedr   Úcalculate_sleep_durationr'   ÚtimeÚsleepÚincrement_current_attempt)r   r    r!   r   r   Údurations   &$$$$ r   Úprepare_for_next_attemptÚ%RetryHandler.prepare_for_next_attemptE   s@   € ð (,ˆÔ$Ø×+Ñ+×DÑDÀU×EZÑEZÓ[ˆÜ�
Š
�8ÔØ×'Ñ'Ö)r   c                ó2   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   # r   r   )r   r   s   "€r   r   r      s   ø‡ ‚ ñ
 Ññ ñ 1Ñ0ò r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Údefault_interval_calculatorr   r*   r(   r8   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__)r   s   @r   r
   r
      s~   ø‡ € ñð  !Ø7R÷7ò 7ð
ð
 ,0ð
ð &*÷
ò 
ð"$ð
 ,0ð$ð &*÷$ò $ð*ð
 ,0ð*ð &*÷*ò *÷c ƒ r   r
   )r?   r4   Útypingr   Úslack_sdk.http_retry.stater   Úslack_sdk.http_retry.requestr   Úslack_sdk.http_retry.responser   Ú(slack_sdk.http_retry.interval_calculatorr   Ú1slack_sdk.http_retry.builtin_interval_calculatorsr   r@   r
   © r   r   Ú<module>rK      s8   ðñó Ý å 1Ý 4Ý 6Ý Lõñ =Ó>Ð ÷<*ó <*r   