Skip to content

Commit a5820aa

Browse files
chore: speakeasy sdk regeneration - Generate (#7)
* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.8.7 * ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.9.1 * ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.9.2 * ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.11.0 --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 4800272 commit a5820aa

28 files changed

+216
-313
lines changed

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,22 @@ import hightouch
3131
from hightouch.models import operations, shared
3232

3333
s = hightouch.Hightouch()
34-
35-
req = operations.CreateDestinationRequest(
36-
security=operations.CreateDestinationSecurity(
37-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
38-
),
39-
request=shared.DestinationCreate(
40-
configuration={
41-
"deserunt": "porro",
42-
"nulla": "id",
43-
"vero": "perspiciatis",
44-
},
45-
name="nulla",
46-
slug="nihil",
47-
type="fuga",
48-
),
34+
35+
36+
req = shared.DestinationCreate(
37+
configuration={
38+
"deserunt": "porro",
39+
"nulla": "id",
40+
"vero": "perspiciatis",
41+
},
42+
name="nulla",
43+
slug="nihil",
44+
type="fuga",
4945
)
5046

51-
res = s.create_destination(req)
47+
res = s.create_destination(req, operations.CreateDestinationSecurity(
48+
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
49+
))
5250

5351
if res.create_destination_200_application_json_any_of is not None:
5452
# handle response

RELEASES.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,36 @@ Based on:
9494
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
9595
- Speakeasy CLI 1.8.6 https://github.com/speakeasy-api/speakeasy
9696
### Releases
97-
- [PyPI v1.9.1] https://pypi.org/project/hightouch/1.9.1 - .
97+
- [PyPI v1.9.1] https://pypi.org/project/hightouch/1.9.1 - .
98+
99+
## 2023-03-09 01:21:23
100+
### Changes
101+
Based on:
102+
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
103+
- Speakeasy CLI 1.8.7 https://github.com/speakeasy-api/speakeasy
104+
### Releases
105+
- [PyPI v1.9.2] https://pypi.org/project/hightouch/1.9.2 - .
106+
107+
## 2023-03-10 01:20:30
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
111+
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
112+
### Releases
113+
- [PyPI v1.10.0] https://pypi.org/project/hightouch/1.10.0 - .
114+
115+
## 2023-03-11 01:09:23
116+
### Changes
117+
Based on:
118+
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
119+
- Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
120+
### Releases
121+
- [PyPI v1.10.1] https://pypi.org/project/hightouch/1.10.1 - .
122+
123+
## 2023-03-15 01:14:30
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
127+
- Speakeasy CLI 1.11.0 https://github.com/speakeasy-api/speakeasy
128+
### Releases
129+
- [PyPI v1.11.0] https://pypi.org/project/hightouch/1.11.0 - .

USAGE.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,22 @@ import hightouch
44
from hightouch.models import operations, shared
55

66
s = hightouch.Hightouch()
7-
8-
req = operations.CreateDestinationRequest(
9-
security=operations.CreateDestinationSecurity(
10-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
11-
),
12-
request=shared.DestinationCreate(
13-
configuration={
14-
"deserunt": "porro",
15-
"nulla": "id",
16-
"vero": "perspiciatis",
17-
},
18-
name="nulla",
19-
slug="nihil",
20-
type="fuga",
21-
),
7+
8+
9+
req = shared.DestinationCreate(
10+
configuration={
11+
"deserunt": "porro",
12+
"nulla": "id",
13+
"vero": "perspiciatis",
14+
},
15+
name="nulla",
16+
slug="nihil",
17+
type="fuga",
2218
)
2319

24-
res = s.create_destination(req)
20+
res = s.create_destination(req, operations.CreateDestinationSecurity(
21+
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
22+
))
2523

2624
if res.create_destination_200_application_json_any_of is not None:
2725
# handle response

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ configVersion: 1.0.0
22
management:
33
docChecksum: a53d236a840ccb19591ccbf41c41acd1
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.8.6
5+
speakeasyVersion: 1.11.0
66
generation:
77
telemetryEnabled: true
88
sdkClassName: hightouch
99
sdkFlattening: true
1010
python:
11-
version: 1.9.1
11+
version: 1.11.0
1212
author: Speakeasy
1313
description: Python SDK for Hightouch API
1414
packageName: hightouch

pylintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ max-locals=15
297297
max-parents=7
298298

299299
# Maximum number of public methods for a class (see R0904).
300-
max-public-methods=20
300+
max-public-methods=25
301301

302302
# Maximum number of return / yield for function / method body.
303303
max-returns=6
@@ -436,7 +436,9 @@ disable=raw-checker-failed,
436436
too-many-branches,
437437
chained-comparison,
438438
duplicate-code,
439-
trailing-newlines
439+
trailing-newlines,
440+
too-many-public-methods,
441+
too-many-locals
440442

441443
# Enable the message, report, category or checker with the given id(s). You can
442444
# either give multiple identifier separated by comma (,) or put this option

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="hightouch",
11-
version="1.9.1",
11+
version="1.11.0",
1212
author="Speakeasy",
1313
description="Python SDK for Hightouch API",
1414
long_description=long_description,

src/hightouch/models/operations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
from .updatesource import *
1919
from .updatesync import *
2020

21-
__all__ = ["CreateDestinationRequest","CreateDestinationResponse","CreateDestinationSecurity","CreateModelRequest","CreateModelResponse","CreateModelSecurity","CreateSourceRequest","CreateSourceResponse","CreateSourceSecurity","CreateSyncRequest","CreateSyncResponse","CreateSyncSecurity","GetDestinationPathParams","GetDestinationRequest","GetDestinationResponse","GetDestinationSecurity","GetModelPathParams","GetModelRequest","GetModelResponse","GetModelSecurity","GetSourcePathParams","GetSourceRequest","GetSourceResponse","GetSourceSecurity","GetSyncPathParams","GetSyncRequest","GetSyncResponse","GetSyncSecurity","ListDestination200ApplicationJSON","ListDestinationOrderByEnum","ListDestinationQueryParams","ListDestinationRequest","ListDestinationResponse","ListDestinationSecurity","ListModel200ApplicationJSON","ListModelOrderByEnum","ListModelQueryParams","ListModelRequest","ListModelResponse","ListModelSecurity","ListSource200ApplicationJSON","ListSourceOrderByEnum","ListSourceQueryParams","ListSourceRequest","ListSourceResponse","ListSourceSecurity","ListSync200ApplicationJSON","ListSyncOrderByEnum","ListSyncQueryParams","ListSyncRequest","ListSyncResponse","ListSyncRuns200ApplicationJSON","ListSyncRunsOrderByEnum","ListSyncRunsPathParams","ListSyncRunsQueryParams","ListSyncRunsRequest","ListSyncRunsResponse","ListSyncRunsSecurity","ListSyncSecurity","TriggerRunCustomRequest","TriggerRunCustomResponse","TriggerRunCustomSecurity","TriggerRunPathParams","TriggerRunRequest","TriggerRunResponse","TriggerRunSecurity","UpdateDestinationPathParams","UpdateDestinationRequest","UpdateDestinationResponse","UpdateDestinationSecurity","UpdateModelPathParams","UpdateModelRequest","UpdateModelResponse","UpdateModelSecurity","UpdateSourcePathParams","UpdateSourceRequest","UpdateSourceResponse","UpdateSourceSecurity","UpdateSyncPathParams","UpdateSyncRequest","UpdateSyncResponse","UpdateSyncSecurity"]
21+
__all__ = ["CreateDestinationResponse","CreateDestinationSecurity","CreateModelResponse","CreateModelSecurity","CreateSourceResponse","CreateSourceSecurity","CreateSyncResponse","CreateSyncSecurity","GetDestinationRequest","GetDestinationResponse","GetDestinationSecurity","GetModelRequest","GetModelResponse","GetModelSecurity","GetSourceRequest","GetSourceResponse","GetSourceSecurity","GetSyncRequest","GetSyncResponse","GetSyncSecurity","ListDestination200ApplicationJSON","ListDestinationOrderByEnum","ListDestinationRequest","ListDestinationResponse","ListDestinationSecurity","ListModel200ApplicationJSON","ListModelOrderByEnum","ListModelRequest","ListModelResponse","ListModelSecurity","ListSource200ApplicationJSON","ListSourceOrderByEnum","ListSourceRequest","ListSourceResponse","ListSourceSecurity","ListSync200ApplicationJSON","ListSyncOrderByEnum","ListSyncRequest","ListSyncResponse","ListSyncRuns200ApplicationJSON","ListSyncRunsOrderByEnum","ListSyncRunsRequest","ListSyncRunsResponse","ListSyncRunsSecurity","ListSyncSecurity","TriggerRunCustomResponse","TriggerRunCustomSecurity","TriggerRunRequest","TriggerRunResponse","TriggerRunSecurity","UpdateDestinationRequest","UpdateDestinationResponse","UpdateDestinationSecurity","UpdateModelRequest","UpdateModelResponse","UpdateModelSecurity","UpdateSourceRequest","UpdateSourceResponse","UpdateSourceSecurity","UpdateSyncRequest","UpdateSyncResponse","UpdateSyncSecurity"]

src/hightouch/models/operations/createdestination.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22
import dataclasses
33
import requests as requests_http
4-
from ..shared import destinationcreate as shared_destinationcreate
54
from ..shared import internalservererror_enum as shared_internalservererror_enum
65
from ..shared import validateerrorjson as shared_validateerrorjson
76
from typing import Any, Optional
@@ -12,11 +11,6 @@ class CreateDestinationSecurity:
1211
bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }})
1312

1413

15-
@dataclasses.dataclass
16-
class CreateDestinationRequest:
17-
request: shared_destinationcreate.DestinationCreate = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }})
18-
19-
2014
@dataclasses.dataclass
2115
class CreateDestinationResponse:
2216
content_type: str = dataclasses.field()

src/hightouch/models/operations/createmodel.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import dataclasses
33
import requests as requests_http
44
from ..shared import internalservererror_enum as shared_internalservererror_enum
5-
from ..shared import modelcreate as shared_modelcreate
65
from ..shared import validateerrorjson as shared_validateerrorjson
76
from typing import Any, Optional
87

@@ -12,11 +11,6 @@ class CreateModelSecurity:
1211
bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }})
1312

1413

15-
@dataclasses.dataclass
16-
class CreateModelRequest:
17-
request: shared_modelcreate.ModelCreate = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }})
18-
19-
2014
@dataclasses.dataclass
2115
class CreateModelResponse:
2216
content_type: str = dataclasses.field()

src/hightouch/models/operations/createsource.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import dataclasses
33
import requests as requests_http
44
from ..shared import internalservererror_enum as shared_internalservererror_enum
5-
from ..shared import sourcecreate as shared_sourcecreate
65
from ..shared import validateerrorjson as shared_validateerrorjson
76
from typing import Any, Optional
87

@@ -12,11 +11,6 @@ class CreateSourceSecurity:
1211
bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }})
1312

1413

15-
@dataclasses.dataclass
16-
class CreateSourceRequest:
17-
request: shared_sourcecreate.SourceCreate = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }})
18-
19-
2014
@dataclasses.dataclass
2115
class CreateSourceResponse:
2216
content_type: str = dataclasses.field()

0 commit comments

Comments
 (0)