Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Sep 30, 2024
1 parent 77089f3 commit e24ff09
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 33 deletions.
30 changes: 15 additions & 15 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
python:
version: 0.3.0
version: 0.3.2
additionalDependencies:
dev: {}
main: {}
Expand All @@ -22,6 +22,8 @@ python:
clientServerStatusCodesAsErrors: true
description: Python Client SDK for Livepeer Studio
enumFormat: enum
fixFlags:
responseRequiredSep2024: false
flattenGlobalSecurity: true
flattenRequests: false
imports:
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.399.0
sources:
livepeer-studio-api:
sourceNamespace: livepeer-studio-api
sourceRevisionDigest: sha256:05b8e6f32af10787d3e904f94a0924c304ec1dd8357de9351eebd75f8ea9c3ca
sourceBlobDigest: sha256:aa27f19cd706fdbc92320eea5ca4d28aefd20557554f78a6fa0393320d8ee1d6
sourceRevisionDigest: sha256:994883abb1c89fda9fa5d6b5fb6fdb14b5902bc63d8b3a016ed73496322b3ef6
sourceBlobDigest: sha256:8f5abbeb4b51a28c9cc0e49ea6daa0b0d630a3e54ab40aedbf238f632ccafcb2
tags:
- latest
- main
targets:
livepeer-python:
source: livepeer-studio-api
sourceNamespace: livepeer-studio-api
sourceRevisionDigest: sha256:05b8e6f32af10787d3e904f94a0924c304ec1dd8357de9351eebd75f8ea9c3ca
sourceBlobDigest: sha256:aa27f19cd706fdbc92320eea5ca4d28aefd20557554f78a6fa0393320d8ee1d6
sourceRevisionDigest: sha256:994883abb1c89fda9fa5d6b5fb6fdb14b5902bc63d8b3a016ed73496322b3ef6
sourceBlobDigest: sha256:8f5abbeb4b51a28c9cc0e49ea6daa0b0d630a3e54ab40aedbf238f632ccafcb2
my-first-target:
source: livepeer-studio-api
sourceNamespace: livepeer-studio-api
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ res = s.stream.create(request={
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down Expand Up @@ -346,7 +346,7 @@ res = s.stream.create(request={
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down Expand Up @@ -558,7 +558,7 @@ res = s.stream.create(request={
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,14 @@ Based on:
### Generated
- [python v0.3.0] .
### Releases
- [PyPI v0.3.0] https://pypi.org/project/livepeer/0.3.0 - .
- [PyPI v0.3.0] https://pypi.org/project/livepeer/0.3.0 - .

## 2024-09-30 00:18:03
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.3.2] .
### Releases
- [PyPI v0.3.2] https://pypi.org/project/livepeer/0.3.2 - .
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ res = s.stream.create(request={
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down Expand Up @@ -144,7 +144,7 @@ async def main():
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| `playback_id` | *Optional[str]* | :heavy_minus_sign: | The playback ID to use with the Playback Info endpoint to retrieve playback URLs. | eaw4nk06ts2d0mzb |
| ~~`user_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 66E2161C-7670-4D05-B71D-DA2D6979556F |
| `playback_url` | *Optional[str]* | :heavy_minus_sign: | URL for HLS playback. **It is recommended to not use this URL**, and instead use playback IDs with the Playback Info endpoint to retrieve the playback URLs - this URL format is subject to change (e.g. https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8). | https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8 |
| `download_url` | *Optional[str]* | :heavy_minus_sign: | The URL to directly download the asset, e.g. `https://livepeercdn.com/asset/eawrrk06ts2d0mzb/video`. It is not recommended to use this for playback. | https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video |
| `download_url` | *Optional[str]* | :heavy_minus_sign: | The URL to directly download the asset, e.g. `https://livepeercdn.com/asset/eawrrk06ts2d0mzb/video`. It is not recommended to use this for playback. | https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4 |
| `playback_policy` | [OptionalNullable[components.PlaybackPolicy]](../../models/components/playbackpolicy.md) | :heavy_minus_sign: | Whether the playback policy for an asset or stream is public or signed | |
| `creator_id` | [Optional[components.CreatorID]](../../models/components/creatorid.md) | :heavy_minus_sign: | N/A | |
| `profiles` | List[[components.TranscodeProfile](../../models/components/transcodeprofile.md)] | :heavy_minus_sign: | Requested profiles for the asset to be transcoded into. Configured<br/>on the upload APIs payload or through the `stream.recordingSpec`<br/>field for recordings. If not specified, default profiles are derived<br/>based on the source input. If this is a recording, the source will<br/>not be present in this list but will be available for playback.<br/> | |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/stream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ res = s.stream.create(request={
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down Expand Up @@ -232,7 +232,7 @@ res = s.stream.update(id="<id>", stream_patch_payload={
"multistream": {
"targets": [
{
"profile": "720p",
"profile": "720p0",
"video_only": False,
"id": "PUSH123",
"spec": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "livepeer"
version = "0.3.0"
version = "0.3.2"
description = "Python Client SDK for Livepeer Studio"
authors = ["Speakeasy",]
readme = "README-PYPI.md"
Expand Down
2 changes: 1 addition & 1 deletion src/livepeer/models/components/body_gensegmentanything2.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BodyGenSegmentAnything2(BaseModel):
r"""Image to segment."""

model_id: Annotated[Optional[str], FieldMetadata(multipart=True)] = (
"facebook/sam2-hiera-large:"
"facebook/sam2-hiera-large"
)
r"""Hugging Face model ID used for image generation."""

Expand Down
4 changes: 2 additions & 2 deletions src/livepeer/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class SDKConfiguration:
server_idx: Optional[int] = 0
language: str = "python"
openapi_doc_version: str = "1.0.0"
sdk_version: str = "0.3.0"
sdk_version: str = "0.3.2"
gen_version: str = "2.415.8"
user_agent: str = "speakeasy-sdk/python 0.3.0 2.415.8 1.0.0 livepeer"
user_agent: str = "speakeasy-sdk/python 0.3.2 2.415.8 1.0.0 livepeer"
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
timeout_ms: Optional[int] = None

Expand Down

0 comments on commit e24ff09

Please sign in to comment.