mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-10 12:47:45 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.202.0
This commit is contained in:
@@ -3,17 +3,17 @@ id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
|
||||
management:
|
||||
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: internal
|
||||
generationVersion: 2.275.4
|
||||
releaseVersion: 0.3.0
|
||||
configChecksum: 1df7c31fecec61686c8b5f29f2f6df8e
|
||||
speakeasyVersion: 1.202.0
|
||||
generationVersion: 2.277.0
|
||||
releaseVersion: 0.3.1
|
||||
configChecksum: bfb7a5bba42dd91fad6aa593086c003c
|
||||
repoURL: https://github.com/LukeHagar/plexpy.git
|
||||
repoSubDirectory: .
|
||||
installationURL: https://github.com/LukeHagar/plexpy.git
|
||||
published: true
|
||||
features:
|
||||
python:
|
||||
constsAndDefaults: 0.1.2
|
||||
constsAndDefaults: 0.1.3
|
||||
core: 4.5.0
|
||||
flattening: 2.81.1
|
||||
globalSecurity: 2.83.4
|
||||
@@ -585,6 +585,7 @@ generatedFiles:
|
||||
- docs/sdks/updater/README.md
|
||||
- USAGE.md
|
||||
- .gitattributes
|
||||
- src/plex_api/_hooks/registration.py
|
||||
- src/plex_api/_hooks/sdkhooks.py
|
||||
- src/plex_api/_hooks/types.py
|
||||
- src/plex_api/_hooks/__init__.py
|
||||
|
||||
12
RELEASES.md
12
RELEASES.md
@@ -68,4 +68,14 @@ Based on:
|
||||
### Generated
|
||||
- [python v0.3.0] .
|
||||
### Releases
|
||||
- [PyPI v0.3.0] https://pypi.org/project/plex-api-client/0.3.0 - .
|
||||
- [PyPI v0.3.0] https://pypi.org/project/plex-api-client/0.3.0 - .
|
||||
|
||||
## 2024-03-07 00:58:57
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc 0.0.3
|
||||
- Speakeasy CLI 1.202.0 (2.277.0) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [python v0.3.1] .
|
||||
### Releases
|
||||
- [PyPI v0.3.1] https://pypi.org/project/plex-api-client/0.3.1 - .
|
||||
2
gen.yaml
2
gen.yaml
@@ -12,7 +12,7 @@ generation:
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: false
|
||||
python:
|
||||
version: 0.3.0
|
||||
version: 0.3.1
|
||||
additionalDependencies:
|
||||
dependencies: {}
|
||||
extraDependencies:
|
||||
|
||||
2
setup.py
2
setup.py
@@ -10,7 +10,7 @@ except FileNotFoundError:
|
||||
|
||||
setuptools.setup(
|
||||
name="plex-api-client",
|
||||
version="0.3.0",
|
||||
version="0.3.1",
|
||||
author="LukeHagar",
|
||||
description="Python Client SDK Generated by Speakeasy",
|
||||
long_description=long_description,
|
||||
|
||||
@@ -2,3 +2,4 @@
|
||||
|
||||
from .sdkhooks import *
|
||||
from .types import *
|
||||
from .registration import *
|
||||
|
||||
13
src/plex_api/_hooks/registration.py
Normal file
13
src/plex_api/_hooks/registration.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from .types import Hooks
|
||||
|
||||
|
||||
# This file is only ever generated once on the first generation and then is free to be modified.
|
||||
# Any hooks you wish to add should be registered in the init_hooks function. Feel free to define them
|
||||
# in this file or in separate files in the hooks folder.
|
||||
|
||||
|
||||
def init_hooks(hooks: Hooks):
|
||||
# pylint: disable=unused-argument
|
||||
"""Add hooks by calling hooks.register{sdk_init/before_request/after_success/after_error}Hook
|
||||
with an instance of a hook that implements that specific Hook interface
|
||||
Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance"""
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
import requests
|
||||
from .types import SDKInitHook, BeforeRequestContext, BeforeRequestHook, AfterSuccessContext, AfterSuccessHook, AfterErrorContext, AfterErrorHook, Hooks
|
||||
from .registration import init_hooks
|
||||
from typing import List, Optional, Tuple, Union
|
||||
|
||||
|
||||
@@ -12,7 +13,7 @@ class SDKHooks(Hooks):
|
||||
after_error_hooks: List[AfterErrorHook] = []
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
init_hooks(self)
|
||||
|
||||
def register_sdk_init_hook(self, hook: SDKInitHook) -> None:
|
||||
self.sdk_init_hooks.append(hook)
|
||||
|
||||
@@ -32,9 +32,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.3.0'
|
||||
gen_version: str = '2.275.4'
|
||||
user_agent: str = 'speakeasy-sdk/python 0.3.0 2.275.4 0.0.3 plex-api-client'
|
||||
sdk_version: str = '0.3.1'
|
||||
gen_version: str = '2.277.0'
|
||||
user_agent: str = 'speakeasy-sdk/python 0.3.1 2.277.0 0.0.3 plex-api-client'
|
||||
retry_config: RetryConfig = None
|
||||
_hooks: SDKHooks = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user