Skip to content

Commit 0d83d49

Browse files
authored
Merge pull request #6 from livepeer/speakeasy-sdk-regen-1717028105
chore: 🐝 Update SDK - Generate
2 parents 3d7db5e + c362f5b commit 0d83d49

31 files changed

+515
-492
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
lockVersion: 2.0.0
22
id: 8c3ff122-1fb8-439c-8680-989f956dfd8d
33
management:
4-
docChecksum: c51b40791605d2618ac3ad4165afbd94
4+
docChecksum: b534222e8195f9c182c64e92d4c02912
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.296.0
7-
generationVersion: 2.337.1
8-
releaseVersion: 0.0.4
9-
configChecksum: 6be2e2c4a40b97bc5b8af7a8b347366c
6+
speakeasyVersion: 1.299.7
7+
generationVersion: 2.338.12
8+
releaseVersion: 0.0.5
9+
configChecksum: d0414e3eed2aed5c741950b43db74be8
10+
repoURL: https://github.com/livepeer/livepeer-python.git
11+
installationURL: https://github.com/livepeer/livepeer-python.git
1012
features:
1113
python:
1214
additionalDependencies: 0.1.0
1315
additionalProperties: 0.1.0
1416
constsAndDefaults: 0.1.3
15-
core: 4.6.8
17+
core: 4.6.9
1618
deprecations: 2.81.1
1719
flattening: 2.81.1
1820
globalSecurity: 2.83.5
@@ -221,6 +223,7 @@ generatedFiles:
221223
- docs/models/operations/getsessionsresponse.md
222224
- docs/models/operations/getsessionrequest.md
223225
- docs/models/operations/getsessionresponse.md
226+
- docs/models/operations/record.md
224227
- docs/models/operations/getrecordedsessionsrequest.md
225228
- docs/models/operations/getrecordedsessionsresponse.md
226229
- docs/models/operations/createroomresponse.md

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
1414
python:
15-
version: 0.0.4
15+
version: 0.0.5
1616
additionalDependencies:
1717
dependencies: {}
1818
extraDependencies:

.speakeasy/workflow.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ speakeasyVersion: 1.296.0
22
sources:
33
livepeer-studio-api:
44
sourceNamespace: livepeer-studio-api
5-
sourceRevisionDigest: sha256:b81b41ca91d17ad2ae1c014f0eebfa69d2894797fc90e4d334e93fa5fac41259
6-
sourceBlobDigest: sha256:484a86d348043527b82eda4e5b1e4608ec35b9b3341a6e08ae7e4fb231e996af
5+
sourceRevisionDigest: sha256:f33eb84dc034f9126a68a9aa7c427e159bba91980ca7843accf3dcbe2f88037c
6+
sourceBlobDigest: sha256:e1d589ac58eded479c1d97baa2178d3bd47ce99590f7199b4f34a2131af4eb36
77
tags:
88
- latest
9+
- main
910
targets:
1011
livepeer-python:
1112
source: livepeer-studio-api
1213
sourceNamespace: livepeer-studio-api
13-
sourceRevisionDigest: sha256:b81b41ca91d17ad2ae1c014f0eebfa69d2894797fc90e4d334e93fa5fac41259
14-
sourceBlobDigest: sha256:484a86d348043527b82eda4e5b1e4608ec35b9b3341a6e08ae7e4fb231e996af
15-
outLocation: /Users/chase/git/livepeer/livepeer-python
14+
sourceRevisionDigest: sha256:f33eb84dc034f9126a68a9aa7c427e159bba91980ca7843accf3dcbe2f88037c
15+
sourceBlobDigest: sha256:e1d589ac58eded479c1d97baa2178d3bd47ce99590f7199b4f34a2131af4eb36
16+
outLocation: /github/workspace/repo
1617
my-first-target:
1718
source: livepeer-studio-api
1819
sourceNamespace: livepeer-studio-api

README.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -129,33 +129,6 @@ if res.stream is not None:
129129
- [get](docs/sdks/playback/README.md#get) - Retrieve Playback Info
130130
<!-- End Available Resources and Operations [operations] -->
131131

132-
<!-- Start Error Handling [errors] -->
133-
134-
## Error Handling
135-
136-
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type.
137-
138-
| Error Object | Status Code | Content Type |
139-
| --------------- | ----------- | ---------------- |
140-
| errors.Error | 404 | application/json |
141-
| errors.SDKError | 4xx-5xx | _/_ |
142-
143-
# Development
144-
145-
## Maturity
146-
147-
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
148-
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
149-
looking for the latest version.
150-
151-
## Contributions
152-
153-
While we value open-source contributions to this SDK, this library is generated programmatically.
154-
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!
155-
156-
<!-- No SDK Installation -->
157-
<!-- No SDK Example Usage -->
158-
<!-- No SDK Available Operations -->
159132
<!-- Start Error Handling [errors] -->
160133
## Error Handling
161134

@@ -179,6 +152,7 @@ s = livepeer.Livepeer(
179152
res = None
180153
try:
181154
res = s.playback.get(id='<value>')
155+
182156
except errors.Error as e:
183157
# handle exception
184158
raise(e)
@@ -215,6 +189,7 @@ s = livepeer.Livepeer(
215189
api_key="<YOUR_BEARER_TOKEN_HERE>",
216190
)
217191

192+
218193
res = s.stream.create(request=components.NewStreamPayload(
219194
name='test_stream',
220195
pull=components.Pull(
@@ -283,6 +258,7 @@ s = livepeer.Livepeer(
283258
api_key="<YOUR_BEARER_TOKEN_HERE>",
284259
)
285260

261+
286262
res = s.stream.create(request=components.NewStreamPayload(
287263
name='test_stream',
288264
pull=components.Pull(
@@ -375,6 +351,7 @@ s = livepeer.Livepeer(
375351
api_key="<YOUR_BEARER_TOKEN_HERE>",
376352
)
377353

354+
378355
res = s.stream.create(request=components.NewStreamPayload(
379356
name='test_stream',
380357
pull=components.Pull(

RELEASES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
## 2024-06-05 00:14:34
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.299.7 (2.338.12) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [python v0.0.5] .

0 commit comments

Comments
 (0)