+
    Vi                    p    ^ RI Ht ^ RIHtHtHt ^tRtRtRt	Rt
]R,          tR R ltR	 R
 ltR R ltR# )    )annotations)LiteralUnionget_argszX-Fal-Request-TimeoutzX-Fal-Request-Timeout-TypezX-Fal-Runner-HintzX-Fal-Queue-Priorityc               $    V ^8  d   QhRRRRRR/# )   timeoutzUnion[int, float]headersdict[str, str]returnNone )formats   "R/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/fal_client/_headers.py__annotate__r      s"     3 3 1 3N 3t 3    c                     \        V 4      p T \        8:  d   \        R\         R24      h\        T 4      T\        &   R#   \         d    \        RT  24      hi ; i)zN
Validates the timeout and adds the timeout header to the headers dictionary.
zTimeout must be a number, got zTimeout must be greater than z secondsN)float
ValueErrorMIN_REQUEST_TIMEOUT_SECONDSstrREQUEST_TIMEOUT_HEADER)r	   r
   s   &&r   add_timeout_headerr      sn    E.
 --+,G+HQ
 	
 '*'lG"#  E9'CDDEs	   ? Ac               $    V ^8  d   QhRRRRRR/# )r   hintr   r
   r   r   r   r   )r   s   "r   r   r   "   s!     ' '# ' '4 'r   c                    W\         &   R # )N)RUNNER_HINT_HEADER)r   r
   s   &&r   add_hint_headerr   "   s    "&r   c               $    V ^8  d   QhRRRRRR/# )r   priorityPriorityr
   r   r   r   r   )r   s   "r   r   r   &   s!     . .( .^ . .r   c                d    \        \        4      pW9  d   \        RV RV  R24      hW\        &   R# )a
  
Validates the priority and adds the priority header to the headers dictionary.

Args:
    priority: Queue priority, must be "normal" or "low".
    headers: Headers dictionary to add the priority header to.

Raises:
    ValueError: If priority is not a valid value.
zPriority must be one of z, got ''N)r   r!   r   QUEUE_PRIORITY_HEADER)r    r
   valid_prioritiess   && r   add_priority_headerr&   &   sA      )'&'7&8zK
 	
 &.!"r   N)normallow)
__future__r   typingr   r   r   r   r   REQUEST_TIMEOUT_TYPE_HEADERr   r$   r!   r   r   r&   r   r   r   <module>r,      sI    " + +  1 : ( .  ?#3"'.r   