File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def _target_api_request(
7373 request_path : str ,
7474 base_vws_url : str ,
7575 request_timeout_seconds : float | tuple [float , float ],
76- extra_headers : dict [str , str ] | None = None ,
76+ extra_headers : dict [str , str ],
7777) -> Response :
7878 """Make a request to the Vuforia Target API.
7979
@@ -112,7 +112,7 @@ def _target_api_request(
112112 "Authorization" : signature_string ,
113113 "Date" : date_string ,
114114 "Content-Type" : content_type ,
115- ** ( extra_headers or {}) ,
115+ ** extra_headers ,
116116 }
117117
118118 url = urljoin (base = base_vws_url , url = request_path )
@@ -210,7 +210,7 @@ def make_request(
210210 request_path = request_path ,
211211 base_vws_url = self ._base_vws_url ,
212212 request_timeout_seconds = self ._request_timeout_seconds ,
213- extra_headers = extra_headers ,
213+ extra_headers = extra_headers or {} ,
214214 )
215215
216216 if (
You can’t perform that action at this time.
0 commit comments