Comments (2)
@RickRen7575 you can resolve that limitation separating the full webhook teams url by the http_conn_id
and webhook_token
when calling the MSTeamsWebhookOperator
operator:
teams_notification = MSTeamsWebhookOperator(
task_id="notify_failure",
http_conn_id="<your-webhook-teams-domain (https://xyz.webhook.office.com)>",
webhook_token="<the webhook url part after the domain (/webhookb2/string/IncomingWebhook/string)>",
...
)
teams_notification.execute(context)
Hope that helps!
from airflow-ms-teams-operator.
I'm not familiar with Composer, or GCP. However from what I know it's Airflow that creates the DB, unless GCP have somehow decided to alter the creation?
Reason for mentiong it - does it work if you try in a local Airflow with a local MySql? If it works locally but not in Composer then maybe that's some limitation they've introduced in their implementation.
from airflow-ms-teams-operator.
Related Issues (15)
- How to use mentions HOT 2
- The hook import no longer works with airflow 2.5.1 HOT 9
- wrong comment - using SparkSqlHook ? HOT 1
- Problem with accents in messages HOT 5
- It doesn't work with the latest version of Airflow (tested with 2.5.3) HOT 1
- theme_color is not working. Airflow Version 2.5.3 HOT 4
- Migrate to PowerAutomate and Adaptive Cards at some point HOT 2
- Method not allowed HOT 7
- Button is not showing up HOT 1
- Reply to the same thread, if there is already a failure from the same DAG with same execution date HOT 1
- what's the best way to add the MSTeamsWebhookOperator to my airflow instance? HOT 1
- Error if only webhook token is provided HOT 1
- Connection aborted error after cloud composer upgrade HOT 1
- Host URL too long HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow-ms-teams-operator.