@@ -35,13 +35,13 @@ class Client:
35
35
"""
36
36
37
37
raise_on_unexpected_status : bool = field (default = False , kw_only = True )
38
- _base_url : str
39
- _cookies : Dict [str , str ] = field (factory = dict , kw_only = True )
40
- _headers : Dict [str , str ] = field (factory = dict , kw_only = True )
41
- _timeout : Optional [httpx .Timeout ] = field (default = None , kw_only = True )
42
- _verify_ssl : Union [str , bool , ssl .SSLContext ] = field (default = True , kw_only = True )
43
- _follow_redirects : bool = field (default = False , kw_only = True )
44
- _httpx_args : Dict [str , Any ] = field (factory = dict , kw_only = True )
38
+ _base_url : str = field ( alias = "base_url" )
39
+ _cookies : Dict [str , str ] = field (factory = dict , kw_only = True , alias = "cookies" )
40
+ _headers : Dict [str , str ] = field (factory = dict , kw_only = True , alias = "headers" )
41
+ _timeout : Optional [httpx .Timeout ] = field (default = None , kw_only = True , alias = "timeout" )
42
+ _verify_ssl : Union [str , bool , ssl .SSLContext ] = field (default = True , kw_only = True , alias = "verify_ssl" )
43
+ _follow_redirects : bool = field (default = False , kw_only = True , alias = "follow_redirects" )
44
+ _httpx_args : Dict [str , Any ] = field (factory = dict , kw_only = True , alias = "httpx_args" )
45
45
_client : Optional [httpx .Client ] = field (default = None , init = False )
46
46
_async_client : Optional [httpx .AsyncClient ] = field (default = None , init = False )
47
47
@@ -165,13 +165,13 @@ class AuthenticatedClient:
165
165
"""
166
166
167
167
raise_on_unexpected_status : bool = field (default = False , kw_only = True )
168
- _base_url : str
169
- _cookies : Dict [str , str ] = field (factory = dict , kw_only = True )
170
- _headers : Dict [str , str ] = field (factory = dict , kw_only = True )
171
- _timeout : Optional [httpx .Timeout ] = field (default = None , kw_only = True )
172
- _verify_ssl : Union [str , bool , ssl .SSLContext ] = field (default = True , kw_only = True )
173
- _follow_redirects : bool = field (default = False , kw_only = True )
174
- _httpx_args : Dict [str , Any ] = field (factory = dict , kw_only = True )
168
+ _base_url : str = field ( alias = "base_url" )
169
+ _cookies : Dict [str , str ] = field (factory = dict , kw_only = True , alias = "cookies" )
170
+ _headers : Dict [str , str ] = field (factory = dict , kw_only = True , alias = "headers" )
171
+ _timeout : Optional [httpx .Timeout ] = field (default = None , kw_only = True , alias = "timeout" )
172
+ _verify_ssl : Union [str , bool , ssl .SSLContext ] = field (default = True , kw_only = True , alias = "verify_ssl" )
173
+ _follow_redirects : bool = field (default = False , kw_only = True , alias = "follow_redirects" )
174
+ _httpx_args : Dict [str , Any ] = field (factory = dict , kw_only = True , alias = "httpx_args" )
175
175
_client : Optional [httpx .Client ] = field (default = None , init = False )
176
176
_async_client : Optional [httpx .AsyncClient ] = field (default = None , init = False )
177
177
0 commit comments