Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.204.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Mar 8, 2024
1 parent 2454337 commit 5d63d1b
Show file tree
Hide file tree
Showing 12 changed files with 403 additions and 336 deletions.
16 changes: 9 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ id: 1cc01e85-de06-43c6-8eba-b42d8ac9f2f1
management:
docChecksum: 0dd32241bcd639c7e99747c1a7b3780d
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.275.4
releaseVersion: 5.1.0
configChecksum: 4aaf3dc32922fc0f941ccd319336190c
speakeasyVersion: 1.204.1
generationVersion: 2.279.1
releaseVersion: 5.2.0
configChecksum: 583a08d485555b1a3ba1ff550115faf0
repoURL: https://github.com/speakeasy-sdks/hightouch-python-sdk.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-sdks/hightouch-python-sdk.git
features:
python:
constsAndDefaults: 0.1.2
core: 4.5.0
constsAndDefaults: 0.1.3
core: 4.5.1
globalSecurity: 2.83.4
globalServerURLs: 2.82.1
unions: 2.82.5
responseFormat: 0.1.0
unions: 2.82.6
generatedFiles:
- src/hightouch/sdkconfiguration.py
- src/hightouch/sdk.py
- py.typed
- pylintrc
- setup.py
- src/hightouch/__init__.py
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ res = s.create_destination(req)
if res.one_of is not None:
# handle response
pass

```
<!-- End SDK Example Usage [usage] -->

Expand Down Expand Up @@ -135,6 +136,7 @@ except errors.SDKError as e:
if res.one_of is not None:
# handle response
pass

```
<!-- End Error Handling [errors] -->

Expand Down Expand Up @@ -178,6 +180,7 @@ res = s.create_destination(req)
if res.one_of is not None:
# handle response
pass

```


Expand Down Expand Up @@ -209,6 +212,7 @@ res = s.create_destination(req)
if res.one_of is not None:
# handle response
pass

```
<!-- End Server Selection [server] -->

Expand Down Expand Up @@ -268,6 +272,7 @@ res = s.create_destination(req)
if res.one_of is not None:
# handle response
pass

```
<!-- End Authentication [security] -->

Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,4 +766,12 @@ Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.198.1 (2.275.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v5.1.0] .
- [python v5.1.0] .

## 2024-03-08 00:41:32
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.204.1 (2.279.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v5.2.0] .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ res = s.create_destination(req)
if res.one_of is not None:
# handle response
pass

```
<!-- End SDK Example Usage [usage] -->
22 changes: 22 additions & 0 deletions docs/sdks/hightouch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ res = s.create_destination(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -109,6 +110,7 @@ res = s.create_model(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -158,6 +160,7 @@ res = s.create_source(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -214,6 +217,7 @@ res = s.create_sync(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -258,6 +262,7 @@ res = s.get_destination(req)
if res.destination is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -301,6 +306,7 @@ res = s.get_model(req)
if res.model is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -344,6 +350,7 @@ res = s.get_source(req)
if res.source is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -388,6 +395,7 @@ res = s.get_sync(req)
if res.sync is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -431,6 +439,7 @@ res = s.get_sync_sequence_run(req)
if res.sync_sequence_status_output is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -473,6 +482,7 @@ res = s.list_destination(req)
if res.object is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -515,6 +525,7 @@ res = s.list_model(req)
if res.object is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -557,6 +568,7 @@ res = s.list_source(req)
if res.object is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -598,6 +610,7 @@ res = s.list_sync(req)
if res.object is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -642,6 +655,7 @@ res = s.list_sync_runs(req)
if res.object is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -689,6 +703,7 @@ res = s.trigger_run(req)
if res.trigger_run_output is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -734,6 +749,7 @@ res = s.trigger_run_custom(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -776,6 +792,7 @@ res = s.trigger_run_id_graph(req)
if res.trigger_run_id_graph_output is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -823,6 +840,7 @@ res = s.trigger_sequence_run(req)
if res.trigger_sequence_run_output is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -870,6 +888,7 @@ res = s.update_destination(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -917,6 +936,7 @@ res = s.update_model(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -964,6 +984,7 @@ res = s.update_source(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -1011,6 +1032,7 @@ res = s.update_sync(req)
if res.one_of is not None:
# handle response
pass

```

### Parameters
Expand Down
3 changes: 2 additions & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
python:
version: 5.1.0
version: 5.2.0
additionalDependencies:
dependencies: {}
extraDependencies:
Expand All @@ -32,3 +32,4 @@ python:
maxMethodParms: 4
outputModelSuffix: output
packageName: hightouch
responseFormat: envelope
1 change: 1 addition & 0 deletions py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker file for PEP 561. The package enables type hints.
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="hightouch",
version="5.1.0",
version="5.2.0",
author="Speakeasy",
description="Python SDK for Hightouch API",
long_description=long_description,
Expand Down
10 changes: 4 additions & 6 deletions src/hightouch/_hooks/sdkhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@


class SDKHooks(Hooks):
sdk_init_hooks: List[SDKInitHook] = []
before_request_hooks: List[BeforeRequestHook] = []
after_success_hooks: List[AfterSuccessHook] = []
after_error_hooks: List[AfterErrorHook] = []

def __init__(self):
pass
self.sdk_init_hooks: List[SDKInitHook] = []
self.before_request_hooks: List[BeforeRequestHook] = []
self.after_success_hooks: List[AfterSuccessHook] = []
self.after_error_hooks: List[AfterErrorHook] = []

def register_sdk_init_hook(self, hook: SDKInitHook) -> None:
self.sdk_init_hooks.append(hook)
Expand Down
Loading

0 comments on commit 5d63d1b

Please sign in to comment.