Skip to content

Commit

Permalink
Update constants.py (#102)
Browse files Browse the repository at this point in the history
* Update constants.py

added workfow endpoint

* Update constants.py

* Update constants.py
  • Loading branch information
HarshMN2345 authored Oct 17, 2023
1 parent e938646 commit 6be30f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion novu/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""This module is used to gather all constants and magic number used in the Novu client."""
"""This module is used to gather all constants and magic numbers used in the Novu client."""

# API Endpoints
CHANGES_ENDPOINT = "/v1/changes"
ENVIRONMENTS_ENDPOINT = "/v1/environments"
EVENTS_ENDPOINT = "/v1/events/trigger"
Expand All @@ -16,5 +17,7 @@
TENANTS_ENDPOINT = "/v1/tenants"
TOPICS_ENDPOINT = "/v1/topics"
BLUEPRINTS_ENDPOINT = "/v1/blueprints"
WORKFLOW_ENDPOINT = "/v1/workflows"

# Datetime Format
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%f%z"

0 comments on commit 6be30f5

Please sign in to comment.