Skip to content

Commit c71d8c2

Browse files
feat(api): fix array query parameter formatting
Use repeated query parameters rather than comma-separated ones, to match the API behavior.
1 parent e58a4d3 commit c71d8c2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 3
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-c4c5f89f67a73e4d17377d2b96fc201a63cd5458cbebaa23e78f92b59b90cc5b.yml
33
openapi_spec_hash: 931c6189a4fc4ee320963646b1b7edbe
4-
config_hash: fa393af196be851b15bd1394c2eaafaa
4+
config_hash: b49703ba227fb054134b67a208cef299

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Warp API
189+
Copyright 2026 Warp API
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

src/warp_agent_sdk/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def with_streaming_response(self) -> WarpAPIWithStreamedResponse:
109109
@property
110110
@override
111111
def qs(self) -> Querystring:
112-
return Querystring(array_format="comma")
112+
return Querystring(array_format="repeat")
113113

114114
@property
115115
@override
@@ -283,7 +283,7 @@ def with_streaming_response(self) -> AsyncWarpAPIWithStreamedResponse:
283283
@property
284284
@override
285285
def qs(self) -> Querystring:
286-
return Querystring(array_format="comma")
286+
return Querystring(array_format="repeat")
287287

288288
@property
289289
@override

0 commit comments

Comments
 (0)