Config

This module is used to define a configuration NovuConfig reusable through the package.

class novu.config.NovuConfig(*args, **kwargs)

Singleton used to configure globally URL and API_KEY for the Novu Client

api_key: str

The API Key required to auth on the Novu API

classmethod configure(url: str, api_key: str)

Class method provided to initialise the singleton data.

Parameters:
  • url – The URL of the Novu API to reach.

  • api_key – The API Key required to auth on the Novu API.

url: str

The URL of the Novu API to reach