2025-08-28 08:51:05 +00:00
|
|
|
from __future__ import print_function
|
|
|
|
|
import brevo_python
|
|
|
|
|
|
2025-11-28 09:30:52 +00:00
|
|
|
|
2025-08-28 08:51:05 +00:00
|
|
|
def setup_brevo(config):
|
|
|
|
|
|
|
|
|
|
# Configure API key authorization: api-key
|
|
|
|
|
configuration = brevo_python.Configuration()
|
2025-11-28 09:30:52 +00:00
|
|
|
configuration.api_key['api-key'] = config['BREVO_API_KEY']
|
2025-08-28 08:51:05 +00:00
|
|
|
|
|
|
|
|
return configuration
|