Skip to main content

No project description provided

Project description

Airflow SendGrid Provider

This is a modified version of https://github.com/apache/airflow/tree/master/airflow/providers/sendgrid

Changelog:

  • added dynamic templates support
  • changed errors messages

Usage

If template_id and template_substitution parameters is passed, the html_content and subject parameters will be ignored

Example

send_email(
        from_email='hello@example.com',
        from_name='Hello',
        subject=null,
        to='world@example.com'',
        html_content=null,
        template_id='00000000-0000-0000-0000-000000000000',
        template_substitution={
            ':number': '1337'
        }
    )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow-sendgrid-provider-j2-0.0.2.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page