B ¨#a@ã@s²yddlZddlmZWn(ek r@ddlZddlmZYnXddlmZmZmZmZm Z m Z m Z ddl m Z ddlmZddlmZmZeržddl mZGd d „d eƒZdS) éN)Ú NoOptionError)Ú TYPE_CHECKINGÚOptionalÚDictÚListÚAnyÚCallableÚUnioné)ÚPipeline)ÚRequestHTTPSenderConfiguration)ÚUserAgentPolicyÚ HTTPLogger)Ú AsyncPipelinecsPeZdZdZd ‡fdd„ Zedd„ƒZdd„Zed d „ƒZej d d „ƒZ‡Z S) Ú ConfigurationzˆClient configuration. :param str baseurl: REST API base URL. :param str filepath: Path to existing config file (optional). NcsLtt|ƒ |¡||_tƒ|_tƒ|_tƒ|_ d|_ d|_ |rH|  |¡dS)NF) ÚsuperrÚ__init__Úbase_urlr Úuser_agent_policyrÚhttp_logger_policyr ÚpipelineÚ keep_aliveÚ credentialsÚload)ÚselfrÚfilepath)Ú __class__©ú;/tmp/pip-target-jgxl_w8r/lib/python/msrest/configuration.pyr8szConfiguration.__init__cCs|jjS)zThe current user agent value.)rÚ user_agent)rrrrrSszConfiguration.user_agentcCs|j |¡dS)zmAdd value to current user agent with a space. :param str value: value to add to user agent. N)rÚadd_user_agent)rÚvaluerrrr YszConfiguration.add_user_agentcCs|jjS)N)rÚenable_http_logger)rrrrr"asz Configuration.enable_http_loggercCs ||j_dS)N)rr")rr!rrrr"es)N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrr r"ÚsetterÚ __classcell__rr)rrr1s   r)Ú configparserrÚ ImportErrorÚ ConfigParserÚtypingrrrrrrr rr Zuniversal_http.requestsr Zpipeline.universalr rrrrrrrÚs$