Skip to content

Commit 4ae7403

Browse files
committed
Fix type error
1 parent 712a36f commit 4ae7403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wes_client/util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ def run(
277277
:return: The body of the post result as a dictionary.
278278
"""
279279
attachments = list(expand_globs(attachments))
280-
parts, attachments = build_wes_request(wf, jsonyaml, attachments)
280+
parts, files = build_wes_request(wf, jsonyaml, attachments)
281281
postresult = requests.post( # nosec B113
282282
f"{self.proto}://{self.host}/ga4gh/wes/v1/runs",
283283
data=parts,
284-
files=attachments,
284+
files=files,
285285
# headers=self.auth,
286286
)
287287
return wes_response(postresult)

0 commit comments

Comments
 (0)