Ë
    µŒjÂ  ã                   óJ   — d Z ddlmZ ddlmZ  G d„ dej
                  «      Zy)z<Create / interact with Google Cloud Translation connections.é    )Ú_http)Ú__version__c                   ó6   ‡ — e Zd ZdZdZdefˆ fd„	ZdZ	 dZˆ xZS )Ú
Connectiona\  A connection to Google Cloud Translation API via the JSON REST API.

    :type client: :class:`~google.cloud.translate.client.Client`
    :param client: The client that owns the current connection.

    :type client_info: :class:`~google.api_core.client_info.ClientInfo`
    :param client_info: (Optional) instance used to generate user agent.
    z"https://translation.googleapis.comNc                 ó�   •— t         t        | �  ||«       || _        t        | j
                  _        t        | j
                  _        y )N)Úsuperr   Ú__init__ÚAPI_BASE_URLr   Ú_client_infoÚgapic_versionÚclient_library_version)ÚselfÚclientÚclient_infoÚapi_endpointÚ	__class__s       €úi/var/www/html/Fitness-lenito-AI-main/venv/lib/python3.12/site-packages/google/cloud/translate_v2/_http.pyr	   zConnection.__init__!   s8   ø€ ÜŒj˜$Ñ(¨°Ô=Ø(ˆÔÜ*5ˆ×ÑÔ'Ü3>ˆ×ÑÕ0ó    Úv2z5{api_base_url}/language/translate/{api_version}{path})	Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚDEFAULT_API_ENDPOINTr	   ÚAPI_VERSIONÚAPI_URL_TEMPLATEÚ__classcell__)r   s   @r   r   r      s/   ø„ ñð @Ðà+/Ð>Rõ ?ð €KØFàNÐÛ:r   r   N)r   Úgoogle.cloudr   Úgoogle.cloud.translate_v2r   ÚJSONConnectionr   © r   r   Ú<module>r"      s#   ðñ Cå Ý 1ô;�×%Ñ%õ ;r   