Ë
    \Íi~  ã                   ó4  — d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dlm
Z
 d dlmZ d d	lmZ d d
lmZ d dlmZ 	 d dlZ	 d dlZ eded¬«       G d„ de	«      «       Z eded¬«       G d„ de	«      «       Zy# e$ r dZY ŒAw xY w# e$ r dZY ŒIw xY w)é    )ÚAny)ÚFastAPIDeprecationWarning)ÚEventSourceResponse)Ú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                   ó    — e Zd ZdZdedefd„Zy)ÚUJSONResponsea”  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                 óh   — t         €J d«       ‚t        j                  |d¬«      j                  d«      S )Nz,ujson must be installed to use UJSONResponseF)Úensure_asciizutf-8)ÚujsonÚdumpsÚencode©Úselfr   s     ú]/root/rosshost/parking-map/parking-api/venv/lib/python3.12/site-packages/fastapi/responses.pyÚrenderzUJSONResponse.render3   s0   € ÜÐ ÐPÐ"PÓPÐ Ü�{‰{˜7°Ô7×>Ñ>¸wÓGÐGó    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úbytesr   © 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                   ó    — e Zd ZdZdedefd„Zy)ÚORJSONResponsea˜  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                 óˆ   — t         €J d«       ‚t        j                  |t         j                  t         j                  z  ¬«      S )Nz.orjson must be installed to use ORJSONResponse)Úoption)Úorjsonr   ÚOPT_NON_STR_KEYSÚOPT_SERIALIZE_NUMPYr   s     r   r   zORJSONResponse.renderQ   s;   € ÜÐ!ÐSÐ#SÓSÐ!Ü�|‰|ØœF×3Ñ3´f×6PÑ6PÑPô
ð 	
r   Nr   r%   r   r   r'   r'   8   s   „ ñð
˜cð 
 eô 
r   r'   )Útypingr   Úfastapi.exceptionsr   Úfastapi.sser   Ústarlette.responsesr   r   r   r	   r
   r   r   Útyping_extensionsr   r   ÚImportErrorr*   r   r'   r%   r   r   ú<module>r3      sÁ   ðÝ å 8Ý BÝ <Ý <Ý <Ý FÝ DÝ 4Ý FÝ (ðÛð
Ûñ
 ð@ð
 'ØôôH�Ló HóðHñ* ð@ð
 'Øôô
�\ó 
óñ
øðc ò Ø‚Eðûð ò Ø‚Fðús$   ÁB  Á	B Â B
Â	B
ÂBÂB