Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0, Speakeay CLI 1.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 3, 2023
1 parent b5d87e2 commit 6179087
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ s = sdk.SDK(


req = operations.EnrichCompanyRequest(
id="89bd9d8d-69a6-474e-8f46-7cc8796ed151",
id='89bd9d8d-69a6-474e-8f46-7cc8796ed151',
)

res = s.companies.enrich(req)
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,12 @@ Based on:
- OpenAPI Doc 1.0 https://prod.speakeasyapi.dev/v1/apis/Structure/version/1.0.0/schema/download
- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.6.2] https://pypi.org/project/structure_py/0.6.2 - .
- [PyPI v0.6.2] https://pypi.org/project/structure_py/0.6.2 - .

## 2023-05-03 00:58:57
### Changes
Based on:
- OpenAPI Doc 1.0 https://prod.speakeasyapi.dev/v1/apis/Structure/version/1.0.0/schema/download
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.7.0] https://pypi.org/project/structure_py/0.7.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ s = sdk.SDK(


req = operations.EnrichCompanyRequest(
id="89bd9d8d-69a6-474e-8f46-7cc8796ed151",
id='89bd9d8d-69a6-474e-8f46-7cc8796ed151',
)

res = s.companies.enrich(req)
Expand Down
22 changes: 11 additions & 11 deletions docs/companies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ s = sdk.SDK(


req = operations.EnrichCompanyRequest(
id="a05dfc2d-df7c-4c78-8a1b-a928fc816742",
id='a05dfc2d-df7c-4c78-8a1b-a928fc816742',
)

res = s.companies.enrich(req)
Expand All @@ -56,9 +56,9 @@ s = sdk.SDK(


req = operations.ListEmployeesRequest(
id="cb739205-9293-496f-aa75-96eb10faaa23",
offset="corporis",
per_page="explicabo",
id='cb739205-9293-496f-aa75-96eb10faaa23',
offset='corporis',
per_page='explicabo',
)

res = s.companies.list_employees(req)
Expand All @@ -85,9 +85,9 @@ s = sdk.SDK(


req = operations.ListJobsRequest(
id="c5955907-aff1-4a3a-afa9-467739251aa5",
offset="odit",
per_page="quo",
id='c5955907-aff1-4a3a-afa9-467739251aa5',
offset='odit',
per_page='quo',
)

res = s.companies.list_jobs(req)
Expand All @@ -114,10 +114,10 @@ s = sdk.SDK(


req = operations.SearchCompaniesApplicationJSON(
filter="sequi",
limit="tenetur",
page="ipsam",
query="id",
filter='sequi',
limit='tenetur',
page='ipsam',
query='id',
)

res = s.companies.search(req)
Expand Down
10 changes: 5 additions & 5 deletions docs/people/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ s = sdk.SDK(


req = operations.EnrichPersonRequest(
id="d019da1f-fe78-4f09-bb00-74f15471b5e6",
id='d019da1f-fe78-4f09-bb00-74f15471b5e6',
)

res = s.people.enrich(req)
Expand All @@ -54,10 +54,10 @@ s = sdk.SDK(


req = operations.SearchPeopleApplicationJSON(
filter="repudiandae",
limit="quae",
page="ipsum",
query="quidem",
filter='repudiandae',
limit='quae',
page='ipsum',
query='quidem',
)

res = s.people.search(req)
Expand Down
4 changes: 2 additions & 2 deletions docs/user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ s = sdk.SDK(


req = operations.LoginApplicationJSON(
email="Kenny50@yahoo.com",
password="rem",
email='Kenny50@yahoo.com',
password='rem',
)

res = s.user.login(req)
Expand Down
6 changes: 3 additions & 3 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: e0bf2d205ca94a0d32bd91d6ea558d5b
docVersion: "1.0"
speakeasyVersion: 1.26.5
generationVersion: 2.23.6
speakeasyVersion: 1.27.0
generationVersion: 2.24.0
generation:
telemetryEnabled: false
sdkClassName: SDK
singleTagPerOp: false
python:
version: 0.6.2
version: 0.7.0
author: Structure
description: Python Client SDK Generated by Speakeasy
packageName: structure_py
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="structure_py",
version="0.6.2",
version="0.7.0",
author="Structure",
description="Python Client SDK Generated by Speakeasy",
long_description=long_description,
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class SDK:
_security_client: requests_http.Session
_server_url: str = SERVERS[0]
_language: str = "python"
_sdk_version: str = "0.6.2"
_gen_version: str = "2.23.6"
_sdk_version: str = "0.7.0"
_gen_version: str = "2.24.0"

def __init__(self,
security: shared.Security = None,
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def _val_to_string(val):
if isinstance(val, datetime):
return val.isoformat().replace('+00:00', 'Z')
if isinstance(val, Enum):
return val.value
return str(val.value)

return str(val)

Expand Down

0 comments on commit 6179087

Please sign in to comment.