<s> import swiftclient <EOL> def connect ( creds ) : <EOL> """<STR_LIT>""" <EOL> return swiftclient . Connection ( <EOL> authurl = creds . authurl , <EOL> user = creds . user , <EOL> key = creds . password , <EOL> auth_version = creds . auth_version , <EOL> tenant_name = creds . tenant_name , <EOL> os_options = { <EOL> "<STR_LIT>" : creds . region , <EOL> "<STR_LIT>" : creds . endpoint_type <EOL> } <EOL> ) </s>
