def connect(creds):
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>"<STR_LIT>": creds.domain_id,<EOL>"<STR_LIT>": creds.domain_name,<EOL>"<STR_LIT>": creds.tenant_id,<EOL>"<STR_LIT>": creds.user_id,<EOL>"<STR_LIT>": creds.user_domain_id,<EOL>"<STR_LIT>": creds.user_domain_name,<EOL>"<STR_LIT>": creds.project_id,<EOL>"<STR_LIT>": creds.project_name,<EOL>"<STR_LIT>": creds.project_domain_id,<EOL>"<STR_LIT>": creds.project_domain_name,<EOL>}<EOL>)<EOL>
Construct a connection value from a container