
    g                     6    d dl mZ d dlmZ dZ G d de      Zy)    )DEFAULT_SENTINEL)TomTom)	AzureMapsc                   H     e Zd ZdZdZdZdeededdd fd
Zd Zd	 Z	 xZ
S )
r   zAzureMaps geocoder based on TomTom.

    Documentation at:
        https://docs.microsoft.com/en-us/azure/azure-maps/index
    z/search/address/jsonz/search/address/reverse/jsonNzatlas.microsoft.com)schemetimeoutproxies
user_agentssl_contextadapter_factorydomainc          
      4    t         	|   ||||||||       y)aQ  
        :param str subscription_key: Azure Maps subscription key.

        :param str scheme:
            See :attr:`geopy.geocoders.options.default_scheme`.

        :param int timeout:
            See :attr:`geopy.geocoders.options.default_timeout`.

        :param dict proxies:
            See :attr:`geopy.geocoders.options.default_proxies`.

        :param str user_agent:
            See :attr:`geopy.geocoders.options.default_user_agent`.

        :type ssl_context: :class:`ssl.SSLContext`
        :param ssl_context:
            See :attr:`geopy.geocoders.options.default_ssl_context`.

        :param callable adapter_factory:
            See :attr:`geopy.geocoders.options.default_adapter_factory`.

            .. versionadded:: 2.0

        :param str domain: Domain where the target Azure Maps service
            is hosted.
        )api_keyr   r   r	   r
   r   r   r   N)super__init__)
selfsubscription_keyr   r   r	   r
   r   r   r   	__class__s
            U/var/www/api/v1/venv_getwork_v1/lib/python3.12/site-packages/geopy/geocoders/azure.pyr   zAzureMaps.__init__   s0    N 	$!#+ 	 		
    c                 "    d| j                   |dS Nz1.0)zapi-versionzsubscription-keyqueryr   )r   formatted_querys     r   _geocode_paramszAzureMaps._geocode_paramsC   s      $$
 	
r   c                 "    d| j                   |dS r   r   )r   positions     r   _reverse_paramszAzureMaps._reverse_paramsJ   s      $
 	
r   )__name__
__module____qualname____doc__geocode_pathreverse_pathr   r   r   r   __classcell__)r   s   @r   r   r      s;     *L1L $$( (0
d

r   r   N)geopy.geocoders.baser   geopy.geocoders.tomtomr   __all__r    r   r   <module>r+      s    1 )
H
 H
r   