Send Notifications to Slack

jovian.notify(data, verbose=True, safe=False)[source]

Sends the data to the Slack workspace connected with your Jovian account.

Parameters
  • data (dict|string) – A dict or string to be pushed to Slack

  • verbose (bool, optional) – By default it prints the acknowledgement, you can remove this by setting the argument to False.

  • safe (bool, optional) – To avoid raising ApiError exception. Defaults to False.

Example
import jovian

data = "Hello from the Integration!"
jovian.notify(data)

Important

This feature requires for your Jovian account to be connected to a Slack workspace, visit Jovian Integrations to integrate them and to control the type of notifications.