visit
is an open-source library for getting alerts/notifications. It can be used in training jobs, data engineering pipelines, scheduled pipelines, in fact, any function’s return statement; with just 2 additional lines of code.
I have been using it for quite some time and it has been amazing for me. I share my experience on LinkedIn as well.
from knockknock import teams_sender
WEBHOOK_URL = '//ABC.webhook.office.com/webhookb2/f762bb6b-cd10-4@894099-80c4-775a0cfe27a7/IncomingWebhook/3e3e4802df/45ec8631ef607'
@teams_sender(WEBHOOK_URL, user_mentions=['Shaurya Uppal'])
def func_name():
return {'distinct user count': 1000, 'loss': 0.9, 'GCP write job': 'Complete'}
You can also set up these alerts on your Email, Desktop Notification, SMS, etc. using 🚪✊ in just 2 lines.
Please feel free to share your views and feedback in the comments section below.
Connect, Follow or Endorse me on if you found this read useful. To learn more about me visit:
I also run a “Data Science and Problem Solving” which is now read by more than 4500+ subscribers. If you are building an AI or a data product or service, you are invited to become a sponsor of one of the future newsletter issues. Feel free to reach out to [email protected] for more details on sponsorships.
[1]
[2]
[3]
[4]
Subscribe to get Email Notification of every Newsletter being Published:
I am nominated for the HackerNoon 2022 Noonies, Vote for me: ||
Connect 1:1 Meeting here:
This article was first