File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,10 @@ def boto_config(request):
4646
4747@pytest .fixture (scope = 'session' )
4848def sagemaker_session (sagemaker_client_config , sagemaker_runtime_config , boto_config ):
49- sagemaker_client = boto3 .client ('sagemaker' , ** sagemaker_client_config ) if sagemaker_client_config else None
50- runtime_client = boto3 .client ('sagemaker-runtime' , ** sagemaker_runtime_config ) if sagemaker_runtime_config else None
5149 boto_session = boto3 .Session (** boto_config ) if boto_config else boto3 .Session (region_name = DEFAULT_REGION )
50+ sagemaker_client = boto_session .client ('sagemaker' , ** sagemaker_client_config ) if sagemaker_client_config else None
51+ runtime_client = (boto_session .client ('sagemaker-runtime' , ** sagemaker_runtime_config ) if sagemaker_runtime_config
52+ else None )
5253
5354 return Session (boto_session = boto_session ,
5455 sagemaker_client = sagemaker_client ,
You can’t perform that action at this time.
0 commit comments