diff --git a/hubspot3/email_events.py b/hubspot3/email_events.py index 6bdb463..e5303e7 100644 --- a/hubspot3/email_events.py +++ b/hubspot3/email_events.py @@ -20,18 +20,14 @@ def __init__(self, *args, **kwargs): self.log = get_log("hubspot3.email_events") def _get_path(self, subpath): - return "email/public/v{}/campaigns/{}".format( - EMAIL_EVENTS_API_VERSION, subpath - ) + return "email/public/v{}/campaigns/{}".format(EMAIL_EVENTS_API_VERSION, subpath) def get_all_campaigns_ids(self, **options): """ Retrieve all email campaign IDs associated with the portal. :see: https://developers.hubspot.com/docs/methods/email/get_campaigns_by_id """ - return self._call( - "by-id".format(EMAIL_EVENTS_API_VERSION), **options - ) + return self._call("by-id".format(EMAIL_EVENTS_API_VERSION), **options) def get_campaign_data(self, campaign_id: int = None, **options): """ diff --git a/hubspot3/globals.py b/hubspot3/globals.py index 0d5d383..c962534 100644 --- a/hubspot3/globals.py +++ b/hubspot3/globals.py @@ -1,7 +1,7 @@ """ globals file for hubspot3 """ -__version__ = "3.2.30" +__version__ = "3.2.31" BASE_URL = "https://api.hubapi.com" diff --git a/hubspot3/workflows.py b/hubspot3/workflows.py index 7389b4c..6bf50fd 100644 --- a/hubspot3/workflows.py +++ b/hubspot3/workflows.py @@ -6,6 +6,7 @@ WORKFLOWS_API_VERSION = "3" + class WorkflowsClient(BaseClient): """ The hubspot3 Workflows client uses the _make_request method to call the