Skip to content

Commit 4a112e5

Browse files
authored
Merge pull request #27 from openintegrations/release-please--branches--main--changes--next
release: 0.2.0
2 parents 50cd598 + f05041f commit 4a112e5

12 files changed

+2280
-27
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.3"
2+
".": "0.1.0-alpha.4"
33
}

.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-38b7ae8d4722f24e508deec5139a4286714e5d2c2784e5778817a034dfdf79ee.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openint%2Fopenint-85e463a784985efe485f181495ac68fac5ddb13b72662257c84250db8e75455d.yml

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 0.1.0-alpha.4 (2025-03-14)
4+
5+
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/openintegrations/python-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
6+
7+
### Features
8+
9+
* **docs:** updating documented docs for stainless ([#26](https://github.com/openintegrations/python-sdk/issues/26)) ([ee7e8f9](https://github.com/openintegrations/python-sdk/commit/ee7e8f91e5ba13b06e959d9f5745ec691aa5987a))
10+
* **docs:** updating documented docs for stainless ([#29](https://github.com/openintegrations/python-sdk/issues/29)) ([749df66](https://github.com/openintegrations/python-sdk/commit/749df664aaaacda0de8b781fdcd4d7e379e2ae5d))
11+
12+
13+
### Chores
14+
15+
* **internal:** remove extra empty newlines ([#30](https://github.com/openintegrations/python-sdk/issues/30)) ([5d7bfbb](https://github.com/openintegrations/python-sdk/commit/5d7bfbb11557c7e1ca3e1e45fe105f565f6a041b))
16+
317
## 0.1.0-alpha.3 (2025-03-08)
418

519
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/openintegrations/python-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openint"
3-
version = "0.1.0-alpha.3"
3+
version = "0.1.0-alpha.4"
44
description = "The official Python library for the Openint API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -38,7 +38,6 @@ Homepage = "https://github.com/openintegrations/python-sdk"
3838
Repository = "https://github.com/openintegrations/python-sdk"
3939

4040

41-
4241
[tool.rye]
4342
managed = true
4443
# version pins are in requirements-dev.lock
@@ -152,7 +151,6 @@ reportImplicitOverride = true
152151
reportImportCycles = false
153152
reportPrivateUsage = false
154153

155-
156154
[tool.ruff]
157155
line-length = 120
158156
output-format = "grouped"

scripts/test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ else
5252
echo
5353
fi
5454

55+
export DEFER_PYDANTIC_BUILD=false
56+
5557
echo "==> Running tests"
5658
rye run pytest "$@"
5759

src/openint/_client.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def get_connection(
426426
self,
427427
id: str,
428428
*,
429-
expand: List[Literal["connector"]] | NotGiven = NOT_GIVEN,
429+
expand: List[Literal["connector", "enabled_integrations"]] | NotGiven = NOT_GIVEN,
430430
include_secrets: Literal["none", "basic", "all"] | NotGiven = NOT_GIVEN,
431431
refresh_policy: Literal["none", "force", "auto"] | NotGiven = NOT_GIVEN,
432432
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -552,7 +552,7 @@ def list_connection_configs(
552552
"googledrive",
553553
]
554554
| NotGiven = NOT_GIVEN,
555-
expand: List[Literal["connector"]] | 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.
@@ -563,7 +563,7 @@ def list_connection_configs(
563563
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
564564
) -> SyncOffsetPagination[ListConnectionConfigsResponse]:
565565
"""
566-
List all connector configurations with optional filtering
566+
List all connector configurations
567567
568568
Args:
569569
connector_name: The name of the connector
@@ -598,7 +598,9 @@ def list_connection_configs(
598598
client_list_connection_configs_params.ClientListConnectionConfigsParams,
599599
),
600600
),
601-
model=ListConnectionConfigsResponse,
601+
model=cast(
602+
Any, ListConnectionConfigsResponse
603+
), # Union types cannot be passed in as arguments in the type system
602604
)
603605

604606
def list_connections(
@@ -655,7 +657,7 @@ def list_connections(
655657
]
656658
| NotGiven = NOT_GIVEN,
657659
customer_id: str | NotGiven = NOT_GIVEN,
658-
expand: List[Literal["connector"]] | NotGiven = NOT_GIVEN,
660+
expand: List[Literal["connector", "enabled_integrations"]] | NotGiven = NOT_GIVEN,
659661
include_secrets: Literal["none", "basic", "all"] | NotGiven = NOT_GIVEN,
660662
limit: int | NotGiven = NOT_GIVEN,
661663
offset: int | NotGiven = NOT_GIVEN,
@@ -1112,7 +1114,7 @@ async def get_connection(
11121114
self,
11131115
id: str,
11141116
*,
1115-
expand: List[Literal["connector"]] | NotGiven = NOT_GIVEN,
1117+
expand: List[Literal["connector", "enabled_integrations"]] | NotGiven = NOT_GIVEN,
11161118
include_secrets: Literal["none", "basic", "all"] | NotGiven = NOT_GIVEN,
11171119
refresh_policy: Literal["none", "force", "auto"] | NotGiven = NOT_GIVEN,
11181120
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1238,7 +1240,7 @@ def list_connection_configs(
12381240
"googledrive",
12391241
]
12401242
| NotGiven = NOT_GIVEN,
1241-
expand: List[Literal["connector"]] | NotGiven = NOT_GIVEN,
1243+
expand: str | NotGiven = NOT_GIVEN,
12421244
limit: int | NotGiven = NOT_GIVEN,
12431245
offset: int | NotGiven = NOT_GIVEN,
12441246
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1249,7 +1251,7 @@ def list_connection_configs(
12491251
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
12501252
) -> AsyncPaginator[ListConnectionConfigsResponse, AsyncOffsetPagination[ListConnectionConfigsResponse]]:
12511253
"""
1252-
List all connector configurations with optional filtering
1254+
List all connector configurations
12531255
12541256
Args:
12551257
connector_name: The name of the connector
@@ -1284,7 +1286,9 @@ def list_connection_configs(
12841286
client_list_connection_configs_params.ClientListConnectionConfigsParams,
12851287
),
12861288
),
1287-
model=ListConnectionConfigsResponse,
1289+
model=cast(
1290+
Any, ListConnectionConfigsResponse
1291+
), # Union types cannot be passed in as arguments in the type system
12881292
)
12891293

12901294
def list_connections(
@@ -1341,7 +1345,7 @@ def list_connections(
13411345
]
13421346
| NotGiven = NOT_GIVEN,
13431347
customer_id: str | NotGiven = NOT_GIVEN,
1344-
expand: List[Literal["connector"]] | NotGiven = NOT_GIVEN,
1348+
expand: List[Literal["connector", "enabled_integrations"]] | NotGiven = NOT_GIVEN,
13451349
include_secrets: Literal["none", "basic", "all"] | NotGiven = NOT_GIVEN,
13461350
limit: int | NotGiven = NOT_GIVEN,
13471351
offset: int | NotGiven = NOT_GIVEN,

src/openint/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "openint"
4-
__version__ = "0.1.0-alpha.3" # x-release-please-version
4+
__version__ = "0.1.0-alpha.4" # x-release-please-version

src/openint/types/client_get_connection_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class ClientGetConnectionParams(TypedDict, total=False):
12-
expand: List[Literal["connector"]]
12+
expand: List[Literal["connector", "enabled_integrations"]]
1313

1414
include_secrets: Literal["none", "basic", "all"]
1515
"""Controls secret inclusion: none (default), basic (auth only), or all secrets"""

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"]]
61+
expand: str
6362

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

src/openint/types/client_list_connections_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ClientListConnectionsParams(TypedDict, total=False):
6868
Ensure it is unique for that customer.
6969
"""
7070

71-
expand: List[Literal["connector"]]
71+
expand: List[Literal["connector", "enabled_integrations"]]
7272

7373
include_secrets: Literal["none", "basic", "all"]
7474
"""Controls secret inclusion: none (default), basic (auth only), or all secrets"""

0 commit comments

Comments
 (0)