Skip to content

Commit

Permalink
Add submitter to KP requests (#308)
Browse files Browse the repository at this point in the history
* Add `submitter` to KP requests

* Bump version

Co-authored-by: Patrick Wang <[email protected]>
Co-authored-by: Max Wang <[email protected]>
  • Loading branch information
3 people authored Oct 20, 2021
1 parent 4a60db0 commit abc26d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion strider/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
title="Strider",
description=DESCRIPTION,
docs_url=None,
version="3.13.1",
version="3.13.2",
terms_of_service=(
"http://robokop.renci.org:7055/tos"
"?service_long=Strider"
Expand Down
1 change: 1 addition & 0 deletions strider/trapi_throttle/throttle.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ async def process_batch(
))
self.logger.context = self.id
merged_request_value = await self.preproc(merged_request_value, self.logger)
merged_request_value["submitter"] = "infores:aragorn"
async with httpx.AsyncClient() as client:
response = await client.post(
self.url,
Expand Down

0 comments on commit abc26d1

Please sign in to comment.