From 3d00d04e13b2c51b60e2ca0a005fdc8c3c21669c Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Fri, 29 Jan 2021 16:26:02 -0500 Subject: [PATCH] Use existing requests session for S3FF --- swcc/swcc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swcc/swcc/__init__.py b/swcc/swcc/__init__.py index 167d25d0..e3b136fa 100644 --- a/swcc/swcc/__init__.py +++ b/swcc/swcc/__init__.py @@ -133,7 +133,7 @@ def cli(ctx, url, json_output: bool, verbose: int): ctx.obj = CliContext( session=session, url=url.rstrip('/'), - s3ff=S3FileFieldClient(url.rstrip('/') + '/s3-upload/'), + s3ff=S3FileFieldClient(url.rstrip('/') + '/s3-upload/', session), json_output=json_output, )