§
    ªxhØ  ã                   ó:   — d Z ddlZddlmZ  G d„ de¦  «        ZdS )aí  
This library allows you to quickly and easily use the Twilio SendGrid Web API v3 via Python.

For more information on this library, see the README on GitHub.
    http://github.com/sendgrid/sendgrid-python
For more information on the Twilio SendGrid v3 API, see the v3 docs:
    http://sendgrid.com/docs/API_Reference/api_v3.html
For the user guide, code examples, and more, visit the main docs page:
    http://sendgrid.com/docs/index.html

This file provides the Twilio SendGrid API Client.
é    Né   )ÚBaseInterfacec                   ó*   ‡ — e Zd ZdZ	 	 	 dˆ fd„	Zˆ xZS )ÚSendGridAPIClienta“  The Twilio SendGrid API Client.

    Use this object to interact with the v3 API. For example:
        mail_client = sendgrid.SendGridAPIClient(os.environ.get('SENDGRID_API_KEY'))
        ...
        mail = Mail(from_email, subject, to_email, content)
        response = mail_client.send(mail)

    For examples and detailed use instructions, see
        https://github.com/sendgrid/sendgrid-python
    Núhttps://api.sendgrid.comc                 óÜ   •— |pt           j                             d¦  «        | _        d                     | j        ¦  «        }t          t          | ¦  «                             |||¦  «         dS )a}  
        Construct the Twilio SendGrid v3 API object.
        Note that the underlying client is being set up during initialization,
        therefore changing attributes in runtime will not affect HTTP client
        behaviour.

        :param api_key: Twilio SendGrid API key to use. If not provided, value
                        will be read from environment variable "SENDGRID_API_KEY"
        :type api_key: string
        :param impersonate_subuser: the subuser to impersonate. Will be passed
                                    by "On-Behalf-Of" header by underlying
                                    client. See
                                    https://sendgrid.com/docs/User_Guide/Settings/subusers.html
                                    for more details
        :type impersonate_subuser: string
        :param host: base URL for API calls
        :type host: string
        ÚSENDGRID_API_KEYz	Bearer {}N)ÚosÚenvironÚgetÚapi_keyÚformatÚsuperr   Ú__init__)Úselfr   ÚhostÚimpersonate_subuserÚauthÚ	__class__s        €úD/var/www/html/what/lib/python3.11/site-packages/sendgrid/sendgrid.pyr   zSendGridAPIClient.__init__    s_   ø€ ð. ÐD¥"¤*§.¢.Ð1CÑ"DÔ"DˆŒØ×!Ò! $¤,Ñ/Ô/ˆåÕ Ñ&Ô&×/Ò/°°dÐ<OÑPÔPÐPÐPÐPó    )Nr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__)r   s   @r   r   r      s\   ø€ € € € € ð
ð 
ð Ø+Ø $ð	Qð Qð Qð Qð Qð Qð Qð Qð Qð Qr   r   )r   r
   Úbase_interfacer   r   © r   r   ú<module>r      sj   ððð ð 
€	€	€	à )Ð )Ð )Ð )Ð )Ð )ð'Qð 'Qð 'Qð 'Qð 'Q˜ñ 'Qô 'Qð 'Qð 'Qð 'Qr   