Skip to content

Commit 9981b15

Browse files
feat(api): api update
1 parent 01404f0 commit 9981b15

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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: 29
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-4fcbe9547537b22a2d68329e1d94e0c1a6f81b5af734ca213f7b95eef5da7adb.yml
33
openapi_spec_hash: 417ea17b08e186b15b2986372592185e
4-
config_hash: 329054917178caa31271402afcf423da
4+
config_hash: 3871f5d21bb38ddd334ec04721dea64d

src/onebusaway/_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ def copy(
267267
# client.with_options(timeout=10).foo.create(...)
268268
with_options = copy
269269

270+
def _get_api_key_query_param(self) -> str | None:
271+
return self.api_key
272+
270273
@override
271274
def _make_status_error(
272275
self,
@@ -497,6 +500,9 @@ def copy(
497500
# client.with_options(timeout=10).foo.create(...)
498501
with_options = copy
499502

503+
def _get_api_key_query_param(self) -> str | None:
504+
return self.api_key
505+
500506
@override
501507
def _make_status_error(
502508
self,

0 commit comments

Comments
 (0)