Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what's the best way to add the MSTeamsWebhookOperator to my airflow instance? #6

Closed
aspain opened this issue Aug 5, 2021 · 1 comment

Comments

@aspain
Copy link

aspain commented Aug 5, 2021

are you simply adding "MSTeamsWebhookOperator" to requirements.txt ? I don't see this mentioned in the instructions anywhere. Best to copy/paste the raw code for the operator & hook into my plugins directory?

@aspain
Copy link
Author

aspain commented Aug 5, 2021

silly me - ended up creating a "hooks" and "operators" directory inside of the "plugins" directory. Then imported as:

from operators.ms_teams_webhook_operator import MSTeamsWebhookOperator
from hooks.ms_teams_webhook_hook import MSTeamsWebhookHook

@aspain aspain closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant