
    ?Ki3                         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Jr  S S
KJr   S SKr S SKr\" S\SS9 " S S\5      5       r\" S\SS9 " S S\5      5       rg! \ a    Sr N<f = f! \ a    Sr NEf = f)    )Any)FastAPIDeprecationWarning)FileResponse)HTMLResponse)JSONResponse)PlainTextResponse)RedirectResponse)Response)StreamingResponse)
deprecatedNal  UJSONResponse is deprecated, FastAPI now serializes data directly to JSON bytes via Pydantic when a return type or response model is set, which is faster and doesn't need a custom response class. Read more in the FastAPI docs: https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model and https://fastapi.tiangolo.com/tutorial/response-model/   )category
stacklevelc                   *    \ rS rSrSrS\S\4S jrSrg)UJSONResponse   al  JSON response using the ujson library to serialize data to JSON.

**Deprecated**: `UJSONResponse` is deprecated. FastAPI now serializes data
directly to JSON bytes via Pydantic when a return type or response model is
set, which is faster and doesn't need a custom response class.

Read more in the
[FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model)
and the
[FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).

**Note**: `ujson` is not included with FastAPI and must be installed
separately, e.g. `pip install ujson`.
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     S/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/fastapi/responses.pyrenderUJSONResponse.render2   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   am  ORJSONResponse is deprecated, FastAPI now serializes data directly to JSON bytes via Pydantic when a return type or response model is set, which is faster and doesn't need a custom response class. Read more in the FastAPI docs: https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model and https://fastapi.tiangolo.com/tutorial/response-model/c                   *    \ rS rSrSrS\S\4S jrSrg)ORJSONResponse7   ap  JSON response using the orjson library to serialize data to JSON.

**Deprecated**: `ORJSONResponse` is deprecated. FastAPI now serializes data
directly to JSON bytes via Pydantic when a return type or response model is
set, which is faster and doesn't need a custom response class.

Read more in the
[FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model)
and the
[FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).

**Note**: `orjson` is not included with FastAPI and must be installed
separately, e.g. `pip install orjson`.
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.renderP   s;    !S#SS!||F33f6P6PP
 	
r   r    Nr!   r    r   r   r*   r*   7   s    
c 
e 
r   r*   )typingr   fastapi.exceptionsr   starlette.responsesr   r   r   r   r	   r
   r   typing_extensionsr   r   ImportErrorr.   r   r*   r    r   r   <module>r7      s     8 < < < F D 4 F (

 @
 'HL HH* @
 '
\ 

c  E  Fs#   A4 B 4A?>A?BB