Skip to content

Commit 749df66

Browse files
feat(docs): updating documented docs for stainless (#29)
1 parent b4419a8 commit 749df66

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openint%2Fopenint-e10a0e81b4fadbfeab06233440618abe4ac7a052db056a88851f67dea445b722.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openint%2Fopenint-85e463a784985efe485f181495ac68fac5ddb13b72662257c84250db8e75455d.yml

src/openint/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def list_connection_configs(
552552
"googledrive",
553553
]
554554
| NotGiven = NOT_GIVEN,
555-
expand: List[Literal["connector", "enabled_integrations"]] | NotGiven = NOT_GIVEN,
555+
expand: str | NotGiven = NOT_GIVEN,
556556
limit: int | NotGiven = NOT_GIVEN,
557557
offset: int | NotGiven = NOT_GIVEN,
558558
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1240,7 +1240,7 @@ def list_connection_configs(
12401240
"googledrive",
12411241
]
12421242
| NotGiven = NOT_GIVEN,
1243-
expand: List[Literal["connector", "enabled_integrations"]] | NotGiven = NOT_GIVEN,
1243+
expand: str | NotGiven = NOT_GIVEN,
12441244
limit: int | NotGiven = NOT_GIVEN,
12451245
offset: int | NotGiven = NOT_GIVEN,
12461246
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.

src/openint/types/client_list_connection_configs_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from __future__ import annotations
44

5-
from typing import List
65
from typing_extensions import Literal, TypedDict
76

87
__all__ = ["ClientListConnectionConfigsParams"]
@@ -59,7 +58,7 @@ class ClientListConnectionConfigsParams(TypedDict, total=False):
5958
]
6059
"""The name of the connector"""
6160

62-
expand: List[Literal["connector", "enabled_integrations"]]
61+
expand: str
6362

6463
limit: int
6564
"""Limit the number of items returned"""

tests/api_resources/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def test_method_list_connection_configs(self, client: Openint) -> None:
267267
def test_method_list_connection_configs_with_all_params(self, client: Openint) -> None:
268268
client_ = client.list_connection_configs(
269269
connector_name="aircall",
270-
expand=["connector"],
270+
expand="expand",
271271
limit=0,
272272
offset=0,
273273
)
@@ -582,7 +582,7 @@ async def test_method_list_connection_configs(self, async_client: AsyncOpenint)
582582
async def test_method_list_connection_configs_with_all_params(self, async_client: AsyncOpenint) -> None:
583583
client = await async_client.list_connection_configs(
584584
connector_name="aircall",
585-
expand=["connector"],
585+
expand="expand",
586586
limit=0,
587587
offset=0,
588588
)

0 commit comments

Comments
 (0)