Skip to content

Commit

Permalink
Merge pull request #259 from Crown-Commercial-Service/etl_endpoint_up…
Browse files Browse the repository at this point in the history
…date

added client endpoint for etl
  • Loading branch information
bala-bc authored Mar 21, 2022
2 parents ee1ff5f + 3905232 commit 87d8330
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dmapiclient/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions dmapiclient/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 87d8330

Please sign in to comment.