Currently SlackWebhookHook is not working in apache-airflow 1.10.3. The http_conn_id doesn’t look like it is passed to to super class HTTPHook. This then sets the http_conn_id=http_default, which causes self.base_url = None. In master, it looks like this was fixed 2–3 months ago, but it has not been released.

I think you can copy out the contrib/slack_webhook_hook.py to your plugins directory and use it from there, or wait until new version, or roll back to earlier version to when it was working. Alternatively, just use the HTTPHook instead.

Linux NinjaPants Automation Engineering Mutant — exploring DevOps, Kubernetes, CNI, IAC

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store