From 4b0da4f37455364e4ad8e9a4bafd0d5d5eda11f3 Mon Sep 17 00:00:00 2001 From: bala-bc Date: Thu, 5 May 2022 15:15:32 +0530 Subject: [PATCH] update etl api --- dmapiclient/__init__.py | 2 +- dmapiclient/data.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dmapiclient/__init__.py b/dmapiclient/__init__.py index dd7f868..be24e14 100644 --- a/dmapiclient/__init__.py +++ b/dmapiclient/__init__.py @@ -1,4 +1,4 @@ -__version__ = '23.1.1' +__version__ = '23.1.2' from .errors import APIError, HTTPError, InvalidResponse # noqa from .errors import REQUEST_ERROR_STATUS_CODE, REQUEST_ERROR_MESSAGE # noqa diff --git a/dmapiclient/data.py b/dmapiclient/data.py index 4422b04..3129be9 100644 --- a/dmapiclient/data.py +++ b/dmapiclient/data.py @@ -1042,9 +1042,9 @@ def get_framework_agreement(self, framework_agreement_id): return self._get( "/agreements/{}".format(framework_agreement_id)) - def get_supplier_framework_agreement(self, framework_slug, supplier_id): + def get_supplier_framework_agreement(self, framework_slug): return self._get( - "/agreements/{}/{}".format(framework_slug, supplier_id)) + "/agreements/{}".format(framework_slug)) def create_framework_agreement(self, supplier_id, framework_slug, user=None): return self._post_with_updated_by(