Skip to content

Commit 3e6a5b4

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.4.2
1 parent 9f71b9e commit 3e6a5b4

File tree

6 files changed

+56
-28
lines changed

6 files changed

+56
-28
lines changed

README.md

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# speakeasy-client-sdk-python
22

3-
This is the Speakeasy API Client SDK for Python. It is generated from our OpenAPI spec found at https://docs.speakeasyapi.dev/openapi.yaml and used for interacting with the [Speakeasy API](https://docs.speakeasyapi.dev/docs/speakeasy-api/speakeasy-api).
4-
5-
This SDK was generated using Speakeasy's SDK Generator. For more information on how to use the generator to generate your own SDKs, please see the [Speakeasy Client SDK Generator Docs](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks).
6-
73
<!-- Start SDK Installation -->
84
## SDK Installation
95

@@ -12,7 +8,8 @@ pip install speakeasy-client-sdk-python
128
```
139
<!-- End SDK Installation -->
1410

15-
## Example usage
11+
## SDK Example Usage
12+
<!-- Start SDK Example Usage -->
1613
```python
1714
import sdk
1815
from sdk.models import operations, shared
@@ -21,27 +18,42 @@ s = sdk.SDK()
2118
s.config_security(
2219
security=shared.Security(
2320
api_key=shared.SchemeAPIKey(
24-
api_key="YOUR_API_KEY" # Replace with your API key from your Speakeasy Workspace
25-
)
21+
api_key="YOUR_API_KEY_HERE",
22+
),
2623
)
2724
)
28-
25+
2926
req = operations.GetApisRequest(
3027
query_params=operations.GetApisQueryParams(
31-
metadata={'label': ['1']},
32-
op=operations.GetApisOp(and_=True)
33-
)
28+
metadata={
29+
"deserunt": [
30+
"nulla",
31+
"id",
32+
"vero",
33+
],
34+
"perspiciatis": [
35+
"nihil",
36+
"fuga",
37+
"facilis",
38+
"eum",
39+
],
40+
"iusto": [
41+
"saepe",
42+
"inventore",
43+
],
44+
},
45+
op=operations.GetApisOp(
46+
and_=False,
47+
),
48+
),
3449
)
35-
50+
3651
res = s.apis.get_apis(req)
3752

38-
if res.status_code == 200:
39-
print(res.apis)
40-
else:
41-
print(res.error)
42-
53+
if res.apis is not None:
54+
# handle response
4355
```
44-
56+
<!-- End SDK Example Usage -->
4557

4658
<!-- Start SDK Available Operations -->
4759
## SDK Available Operations

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,12 @@ Based on:
4646
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
4747
- Speakeasy CLI 1.3.3 https://github.com/speakeasy-api/speakeasy
4848
### Releases
49-
- [PyPI v1.3.2] https://pypi.org/project/speakeasy-client-sdk-python/1.3.2 - .
49+
- [PyPI v1.3.2] https://pypi.org/project/speakeasy-client-sdk-python/1.3.2 - .
50+
51+
## Version 1.4.0
52+
### Changes
53+
Based on:
54+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
55+
- Speakeasy CLI 1.4.2 https://github.com/speakeasy-api/speakeasy
56+
### Releases
57+
- [PyPI v1.4.0] https://pypi.org/project/speakeasy-client-sdk-python/1.4.0 - .

files.gen

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ src/sdk/requests.py
77
src/sdk/schemas.py
88
src/sdk/sdk.py
99
setup.py
10+
src/sdk/__init__.py
11+
src/sdk/models/__init__.py
12+
src/sdk/utils/__init__.py
13+
src/sdk/utils/retries.py
14+
src/sdk/utils/utils.py
1015
src/sdk/models/operations/deleteapiendpoint.py
1116
src/sdk/models/operations/findapiendpoint.py
1217
src/sdk/models/operations/generateopenapispecforapiendpoint.py

gen.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
configVersion: 1.0.0
12
management:
2-
openapi-checksum: 2bba3b8f9d211b02569b3f9aff0d34b4
3-
openapi-version: 0.3.0
4-
speakeasy-version: 1.3.3
3+
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
4+
docVersion: 0.3.0
5+
speakeasyVersion: 1.4.2
6+
generation:
7+
telemetryEnabled: true
8+
sdkClassName: SDK
59
python:
6-
version: 1.3.2
7-
packagename: speakeasy-client-sdk-python
10+
version: 1.4.0
811
author: Speakeasy
912
description: Speakeasy API Client SDK for Python
10-
telemetryenabled: true
13+
packageName: speakeasy-client-sdk-python

setup.py

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

99
setuptools.setup(
1010
name="speakeasy-client-sdk-python",
11-
version="1.3.2",
11+
version="1.4.0",
1212
author="Speakeasy",
1313
description="Speakeasy API Client SDK for Python",
1414
long_description=long_description,

src/sdk/sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class SDK:
3232
_security: shared.Security
3333
_server_url: str = SERVERS[SERVER_PROD]
3434
_language: str = "python"
35-
_sdk_version: str = "1.3.2"
36-
_gen_version: str = "1.3.3"
35+
_sdk_version: str = "1.4.0"
36+
_gen_version: str = "1.4.2"
3737

3838
def __init__(self) -> None:
3939
self._client = requests.Session()

0 commit comments

Comments
 (0)