
    5h                         S SK Jr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJ	r	   S S	K
r
 S S	Kr " S
 S\5      r " S S\5      rg	! \ a    S	r
 N&f = f! \ a    S	r N/f = f)    )Any)FileResponse)HTMLResponse)JSONResponse)PlainTextResponse)RedirectResponse)Response)StreamingResponseNc                   *    \ rS rSrSrS\S\4S jrSrg)UJSONResponse   z
JSON response using the high-performance ujson library to serialize data to JSON.

Read more about it in the
[FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
contentreturnc                 f    [         c   S5       e[         R                  " USS9R                  S5      $ )Nz,ujson must be installed to use UJSONResponseF)ensure_asciizutf-8)ujsondumpsencodeselfr   s     \/var/www/html/cementerio_25MayoBackend/env/lib/python3.13/site-packages/fastapi/responses.pyrenderUJSONResponse.render   s0     P"PP {{77>>wGG     N	__name__
__module____qualname____firstlineno____doc__r   bytesr   __static_attributes__r   r   r   r   r      s    Hc He Hr   r   c                   *    \ rS rSrSrS\S\4S jrSrg)ORJSONResponse$   z
JSON response using the high-performance orjson library to serialize data to JSON.

Read more about it in the
[FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
r   r   c                     [         c   S5       e[         R                  " U[         R                  [         R                  -  S9$ )Nz.orjson must be installed to use ORJSONResponse)option)orjsonr   OPT_NON_STR_KEYSOPT_SERIALIZE_NUMPYr   s     r   r   ORJSONResponse.render,   s;    !S#SS!||F33f6P6PP
 	
r   r   Nr   r   r   r   r%   r%   $   s    
c 
e 
r   r%   )typingr   starlette.responsesr   r   r   r   r   r	   r
   r   ImportErrorr)   r   r%   r   r   r   <module>r0      sr     < < < F D 4 F


HL 
H
\ 
/  E  Fs"   A A  AA A+*A+