From 39052326aeaaea4b774c82c6b66883670c017f01 Mon Sep 17 00:00:00 2001 From: bala-bc Date: Mon, 21 Mar 2022 19:57:27 +0530 Subject: [PATCH] added client endpoint for etl --- dmapiclient/__init__.py | 2 +- dmapiclient/data.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dmapiclient/__init__.py b/dmapiclient/__init__.py index 4650b04..dd7f868 100644 --- a/dmapiclient/__init__.py +++ b/dmapiclient/__init__.py @@ -1,4 +1,4 @@ -__version__ = '23.1.0' +__version__ = '23.1.1' 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 c07769d..4422b04 100644 --- a/dmapiclient/data.py +++ b/dmapiclient/data.py @@ -1042,6 +1042,10 @@ 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): + return self._get( + "/agreements/{}/{}".format(framework_slug, supplier_id)) + def create_framework_agreement(self, supplier_id, framework_slug, user=None): return self._post_with_updated_by( "/agreements",