Skip to content

Commit

Permalink
Update post_download_messages
Browse files Browse the repository at this point in the history
  • Loading branch information
davitmamrikishvili committed Nov 27, 2024
1 parent ee3b806 commit 96edfc8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions th2_data_services/data_source/lwdp/source_api/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,17 @@ def post_download_messages(
"startTimestamp": start_timestamp,
"endTimestamp": end_timestamp,
"bookID": book_id,
"sort": sort,
# "sort": sort,
"responseFormats": response_formats,
"streams": streams,
"groups": groups,
"fastFail": fast_fail,
"failFast": fast_fail,
}
url = f"{self._url}/download"

return self.__encode_url(url), kwargs
filtered_kwargs = {k: v for k, v in kwargs.items() if v is not None}

return self.__encode_url(url), filtered_kwargs

def get_download(
self,
Expand Down

0 comments on commit 96edfc8

Please sign in to comment.