File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 1348
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-460637cf938836bf2619c57e293f6ae014a6b1bcbe0cd2288cc66450928cf3c5 .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-60eaec2f4029582531bbb45c66bb499e91203845eeeb3d507ae7ed5675a6bbe6 .yml
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ def _build_request(
456456 raise RuntimeError (f"Unexpected JSON data type, { type (json_data )} , cannot merge with `extra_body`" )
457457
458458 headers = self ._build_headers (options )
459- params = _merge_mappings (self ._custom_query , options .params )
459+ params = _merge_mappings (self .default_query , options .params )
460460 content_type = headers .get ("Content-Type" )
461461
462462 # If the given Content-Type header is multipart/form-data then it
@@ -592,6 +592,12 @@ def default_headers(self) -> dict[str, str | Omit]:
592592 ** self ._custom_headers ,
593593 }
594594
595+ @property
596+ def default_query (self ) -> dict [str , object ]:
597+ return {
598+ ** self ._custom_query ,
599+ }
600+
595601 def _validate_headers (
596602 self ,
597603 headers : Headers , # noqa: ARG002
You can’t perform that action at this time.
0 commit comments