def __init__(self, connection_params):
self.account_name = connection_params.account_name<EOL>self.account_key = connection_params.account_key<EOL>self.sas_token = connection_params.sas_token<EOL>self.is_emulated = connection_params.is_emulated<EOL>self.primary_endpoint = connection_params.primary_endpoint<EOL>self.secondary_endpoint = connection_params.secondary_endpoint<EOL>protocol = connection_params.protocol<EOL>request_session = connection_params.request_session or requests.Session()<EOL>socket_timeout = connection_params.socket_timeout or DEFAULT_SOCKET_TIMEOUT<EOL>self._httpclient = _HTTPClient(<EOL>protocol=protocol,<EOL>session=request_session,<EOL>timeout=socket_timeout,<EOL>)<EOL>self.retry = ExponentialRetry().retry<EOL>self.location_mode = LocationMode.PRIMARY<EOL>self.request_callback = None<EOL>self.response_callback = None<EOL>self.retry_callback = None<EOL>self._X_MS_VERSION = DEFAULT_X_MS_VERSION<EOL>self._USER_AGENT_STRING = DEFAULT_USER_AGENT_STRING<EOL>
:param obj connection_params: The parameters to use to construct the client.