File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
sdlf-datalakeLibrary/python/datalake_library/interfaces
sdlf-foundations/lambda/catalog/src Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ underline=$(tput smul)
77notunderline=$( tput rmul)
88notbold=$( tput sgr0)
99
10- version () { echo " awssdlf/2.0 .0" ; }
10+ version () { echo " awssdlf/2.1 .0" ; }
1111
1212usage () { echo "
1313 --version -- Prints the SDLF version
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class S3Interface:
1616 def __init__ (self , log_level = None , s3_client = None ):
1717 self .log_level = log_level or os .getenv ("LOG_LEVEL" , "INFO" )
1818 self ._logger = init_logger (__name__ , self .log_level )
19- self ._session_config = Config (user_agent = "awssdlf/2.0 .0" )
19+ self ._session_config = Config (user_agent = "awssdlf/2.1 .0" )
2020 self ._s3_client = s3_client or boto3 .client ("s3" , config = self ._session_config )
2121
2222 def download_object (self , bucket , key ):
Original file line number Diff line number Diff line change 55from urllib .parse import unquote_plus
66
77import boto3
8+ from botocore .config import Config
89from botocore .exceptions import ClientError
910
11+ session_config = Config (user_agent_extra = "awssdlf/2.1.0" )
12+
1013logger = logging .getLogger ()
1114logger .setLevel (logging .INFO )
1215dynamodb = boto3 .client ("dynamodb" )
You can’t perform that action at this time.
0 commit comments