airflow-sendgrid-provider-j2-0.0.4
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | airflow-sendgrid-provider-j2-0.0.4 |
| نام | airflow-sendgrid-provider-j2 |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://gitlab.netprotect.com/hercules/airflow-sendgrid-provider |
| آدرس اینترنتی | https://pypi.org/project/airflow-sendgrid-provider-j2/ |
| مجوز | - |
# 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'
}
)
نیازمندی
| مقدار | نام |
|---|---|
| - | apache-airflow |
| - | sendgrid |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl airflow-sendgrid-provider-j2-0.0.4:
pip install airflow-sendgrid-provider-j2-0.0.4.whl
نصب پکیج tar.gz airflow-sendgrid-provider-j2-0.0.4:
pip install airflow-sendgrid-provider-j2-0.0.4.tar.gz