mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-09 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.308.0
This commit is contained in:
@@ -3,10 +3,10 @@ id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
|
||||
management:
|
||||
docChecksum: 911d74baa0d06121d2ce2c71d94e977a
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: 1.299.6
|
||||
generationVersion: 2.338.12
|
||||
releaseVersion: 0.8.1
|
||||
configChecksum: e0a296d301c77a4a5799d1b93aa35cfd
|
||||
speakeasyVersion: 1.308.0
|
||||
generationVersion: 2.342.2
|
||||
releaseVersion: 0.8.2
|
||||
configChecksum: f20ca4e1b38909fd8d69b6947315f838
|
||||
repoURL: https://github.com/LukeHagar/plexpy.git
|
||||
repoSubDirectory: .
|
||||
installationURL: https://github.com/LukeHagar/plexpy.git
|
||||
@@ -15,7 +15,7 @@ features:
|
||||
python:
|
||||
additionalDependencies: 0.1.0
|
||||
constsAndDefaults: 0.1.3
|
||||
core: 4.6.9
|
||||
core: 4.6.10
|
||||
flattening: 2.81.1
|
||||
globalSecurity: 2.83.5
|
||||
globalSecurityCallbacks: 0.1.0
|
||||
@@ -44,8 +44,10 @@ generatedFiles:
|
||||
- src/plex_api/sessions.py
|
||||
- src/plex_api/updater.py
|
||||
- src/plex_api/sdk.py
|
||||
- Makefile
|
||||
- py.typed
|
||||
- pylintrc
|
||||
- scripts/publish.sh
|
||||
- setup.py
|
||||
- src/plex_api/__init__.py
|
||||
- src/plex_api/utils/__init__.py
|
||||
|
||||
@@ -12,7 +12,7 @@ generation:
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: false
|
||||
python:
|
||||
version: 0.8.1
|
||||
version: 0.8.2
|
||||
additionalDependencies:
|
||||
dependencies: {}
|
||||
extraDependencies:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
speakeasyVersion: 1.306.0
|
||||
speakeasyVersion: 1.308.0
|
||||
sources:
|
||||
my-source:
|
||||
sourceNamespace: my-source
|
||||
sourceRevisionDigest: sha256:c661461e812b435c03e582528fc079a40116a7794349548e439433810462ede2
|
||||
sourceBlobDigest: sha256:01ea875ed58731c7f0da0076a2f593efd48353df386b633ed2cc79b6de77be5f
|
||||
sourceRevisionDigest: sha256:0281386c0424f9309c449ac0e8b84e64d4d4b546427c13e890f4a989cb0c9e11
|
||||
sourceBlobDigest: sha256:ad868dd074aef16acba0f48666bfc67bfcaf8e9270c51b2112e82afacd223147
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
@@ -11,8 +11,8 @@ targets:
|
||||
plexpy:
|
||||
source: my-source
|
||||
sourceNamespace: my-source
|
||||
sourceRevisionDigest: sha256:c661461e812b435c03e582528fc079a40116a7794349548e439433810462ede2
|
||||
sourceBlobDigest: sha256:01ea875ed58731c7f0da0076a2f593efd48353df386b633ed2cc79b6de77be5f
|
||||
sourceRevisionDigest: sha256:0281386c0424f9309c449ac0e8b84e64d4d4b546427c13e890f4a989cb0c9e11
|
||||
sourceBlobDigest: sha256:ad868dd074aef16acba0f48666bfc67bfcaf8e9270c51b2112e82afacd223147
|
||||
outLocation: /github/workspace/repo
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
|
||||
28
Makefile
28
Makefile
@@ -1,26 +1,6 @@
|
||||
|
||||
.PHONY: *
|
||||
SHELL := bash
|
||||
|
||||
all: speakeasy
|
||||
|
||||
|
||||
speakeasy: check-speakeasy
|
||||
speakeasy generate sdk --lang python -o . -s ./openapi.yaml
|
||||
|
||||
speakeasy-validate: check-speakeasy
|
||||
speakeasy validate openapi -s ./openapi.yaml
|
||||
|
||||
openapi:
|
||||
curl https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml > ./openapi.yaml
|
||||
|
||||
# This will replace the generation source in your workflow file with your local schema path
|
||||
generate-from-local:
|
||||
@if ! which sed >/dev/null; then \
|
||||
echo "sed is not installed. Please install it using the following command:"; \
|
||||
echo "For Ubuntu/Debian: apt-get install sed"; \
|
||||
echo "For macOS: sed is pre-installed"; \
|
||||
exit 1; \
|
||||
fi
|
||||
@sed -i '' '/openapi_docs: |/{n;s|-.*|- ./openapi.yaml|;}' ./.github/workflows/speakeasy_sdk_generation.yml
|
||||
|
||||
check-speakeasy:
|
||||
@command -v speakeasy >/dev/null 2>&1 || { echo >&2 "speakeasy CLI is not installed. Please install before continuing."; exit 1; }
|
||||
publish:
|
||||
./scripts/publish.sh
|
||||
12
RELEASES.md
12
RELEASES.md
@@ -598,4 +598,14 @@ Based on:
|
||||
### Generated
|
||||
- [python v0.8.1] .
|
||||
### Releases
|
||||
- [PyPI v0.8.1] https://pypi.org/project/plex-api-client/0.8.1 - .
|
||||
- [PyPI v0.8.1] https://pypi.org/project/plex-api-client/0.8.1 - .
|
||||
|
||||
## 2024-06-14 00:22:16
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.308.0 (2.342.2) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [python v0.8.2] .
|
||||
### Releases
|
||||
- [PyPI v0.8.2] https://pypi.org/project/plex-api-client/0.8.2 - .
|
||||
1614
codeSamples.yaml
1614
codeSamples.yaml
File diff suppressed because it is too large
Load Diff
9
scripts/publish.sh
Executable file
9
scripts/publish.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export TWINE_USERNAME=__token__
|
||||
export TWINE_PASSWORD=${PYPI_TOKEN}
|
||||
|
||||
python -m pip install --upgrade pip
|
||||
pip install setuptools wheel twine
|
||||
python setup.py sdist bdist_wheel
|
||||
twine upload dist/*
|
||||
2
setup.py
2
setup.py
@@ -19,7 +19,7 @@ except FileNotFoundError:
|
||||
|
||||
setuptools.setup(
|
||||
name='plex-api-client',
|
||||
version='0.8.1',
|
||||
version='0.8.2',
|
||||
author='LukeHagar',
|
||||
description='Python Client SDK Generated by Speakeasy',
|
||||
url='https://github.com/LukeHagar/plexpy.git',
|
||||
|
||||
@@ -34,9 +34,9 @@ class SDKConfiguration:
|
||||
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
||||
language: str = 'python'
|
||||
openapi_doc_version: str = '0.0.3'
|
||||
sdk_version: str = '0.8.1'
|
||||
gen_version: str = '2.338.12'
|
||||
user_agent: str = 'speakeasy-sdk/python 0.8.1 2.338.12 0.0.3 plex-api-client'
|
||||
sdk_version: str = '0.8.2'
|
||||
gen_version: str = '2.342.2'
|
||||
user_agent: str = 'speakeasy-sdk/python 0.8.2 2.342.2 0.0.3 plex-api-client'
|
||||
retry_config: Optional[RetryConfig] = None
|
||||
|
||||
def __post_init__(self):
|
||||
|
||||
Reference in New Issue
Block a user