Skip to content

Commit

Permalink
Merge pull request #52 from Crown-Commercial-Service/feature/DMPGC14-…
Browse files Browse the repository at this point in the history
…603-add-target-for-list-conversations

DMPGC14-603 - Add the latest_message_target option to the API client
  • Loading branch information
tim-s-ccs authored Mar 22, 2024
2 parents 044189f + 7963962 commit a8daef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dmapiclient/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '25.4.0'
__version__ = '25.4.1'

from .errors import APIError, HTTPError, InvalidResponse # noqa
from .errors import REQUEST_ERROR_STATUS_CODE, REQUEST_ERROR_MESSAGE # noqa
Expand Down
3 changes: 2 additions & 1 deletion dmapiclient/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ def find_outcomes(self, completed=None, page=None):

# Conversations

def find_communications(self, framework, supplier_id=None, archived=None, page=None):
def find_communications(self, framework, supplier_id=None, latest_message_target=None, archived=None, page=None):
warnings.warn(
"The output of 'find_communications' is paginated. Use 'find_communications_iter' instead.",
DeprecationWarning
Expand All @@ -1310,6 +1310,7 @@ def find_communications(self, framework, supplier_id=None, archived=None, page=N
'page': page,
'framework': framework,
'supplier_id': supplier_id,
'latest_message_target': latest_message_target,
'archived': archived,
}

Expand Down

0 comments on commit a8daef8

Please sign in to comment.