File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ def _build_request(
457
457
raise RuntimeError (f"Unexpected JSON data type, { type (json_data )} , cannot merge with `extra_body`" )
458
458
459
459
headers = self ._build_headers (options )
460
- params = _merge_mappings (self ._custom_query , options .params )
460
+ params = _merge_mappings (self .default_query , options .params )
461
461
content_type = headers .get ("Content-Type" )
462
462
463
463
# If the given Content-Type header is multipart/form-data then it
@@ -593,6 +593,12 @@ def default_headers(self) -> dict[str, str | Omit]:
593
593
** self ._custom_headers ,
594
594
}
595
595
596
+ @property
597
+ def default_query (self ) -> dict [str , object ]:
598
+ return {
599
+ ** self ._custom_query ,
600
+ }
601
+
596
602
def _validate_headers (
597
603
self ,
598
604
headers : Headers , # noqa: ARG002
You can’t perform that action at this time.
0 commit comments