
    jjb                        S SK r S SKJrJr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Jr   " S S\5      r " S S\5      r \" \\ R*                  " S5      5      r \" \\ R*                  " S5      5      r\" S\SS9 " S S\5      5       r\" S\SS9 " S S\5      5       rg! \ a    Sr NQf = f! \ a    Sr NEf = f)    N)AnyProtocolcast)FastAPIDeprecationWarning)EventSourceResponse)FileResponse)HTMLResponse)JSONResponse)PlainTextResponse)RedirectResponse)Response)StreamingResponse)
deprecatedc                   2    \ rS rSrSS.S\S\S\4S jjrSrg	)
_UjsonModule   .ensure_ascii_UjsonModule__objr   returnc                    g N )selfr   r   s      T/var/www/html/Sattelite-Image/venv/lib/python3.13/site-packages/fastapi/responses.pydumps_UjsonModule.dumps   s    S    r   N)	__name__
__module____qualname____firstlineno__r   boolstrr   __static_attributes__r   r   r   r   r      s    8;H3HHHHr   r   c                   H    \ rS rSr% \\S'   \\S'   SS.S\S\S\4S	 jjrS
r	g)_OrjsonModule   OPT_NON_STR_KEYSOPT_SERIALIZE_NUMPY.option_OrjsonModule__objr,   r   c                    g r   r   )r   r-   r,   s      r   r   _OrjsonModule.dumps   s    r   r   N)
r   r    r!   r"   int__annotations__r   bytesr   r%   r   r   r   r'   r'      s&    14C3C3CCCr   r'   ujsonorjsonal  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`.
contentr   c                 d    [         c   S5       e[         R                  USS9R                  S5      $ )Nz,ujson must be installed to use UJSONResponseFr   zutf-8)r3   r   encoder   r;   s     r   renderUJSONResponse.render@   s2     P"PP {{7{7>>wGGr   r   N	r   r    r!   r"   __doc__r   r2   r?   r%   r   r   r   r9   r9   '   s    Hc He Hr   r9   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)ORJSONResponseE   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 ORJSONResponser+   )r4   r   r)   r*   r>   s     r   r?   ORJSONResponse.render^   s@    !S#SS!||F33f6P6PP  
 	
r   r   NrA   r   r   r   rD   rD   E   s    
c 
e 
r   rD   )	importlibtypingr   r   r   fastapi.exceptionsr   fastapi.sser   starlette.responsesr   r	   r
   r   r   r   r   typing_extensionsr   r   r'   import_moduler3   ModuleNotFoundErrorr4   r9   rD   r   r   r   <module>rP      s    & & 8 B < < < F D 4 F (I8 IDH Dy66w?@E
-!8!8!BCF
 @
 'HL HH* @
 '
\ 

c  E  Fs$   "C <C CCCC