mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-10 04:21:03 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.227.0
This commit is contained in:
@@ -3,10 +3,10 @@ id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
|
|||||||
management:
|
management:
|
||||||
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.210.0
|
speakeasyVersion: 1.227.0
|
||||||
generationVersion: 2.281.2
|
generationVersion: 2.291.0
|
||||||
releaseVersion: 0.4.2
|
releaseVersion: 0.4.3
|
||||||
configChecksum: 91784c6d1608677dcdc20f3be8c9229b
|
configChecksum: 136cb7b5342757cec11941f6d809b129
|
||||||
repoURL: https://github.com/LukeHagar/plexpy.git
|
repoURL: https://github.com/LukeHagar/plexpy.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexpy.git
|
installationURL: https://github.com/LukeHagar/plexpy.git
|
||||||
@@ -14,9 +14,9 @@ management:
|
|||||||
features:
|
features:
|
||||||
python:
|
python:
|
||||||
constsAndDefaults: 0.1.3
|
constsAndDefaults: 0.1.3
|
||||||
core: 4.5.1
|
core: 4.5.2
|
||||||
flattening: 2.81.1
|
flattening: 2.81.1
|
||||||
globalSecurity: 2.83.4
|
globalSecurity: 2.83.5
|
||||||
globalServerURLs: 2.82.2
|
globalServerURLs: 2.82.2
|
||||||
methodServerURLs: 2.82.1
|
methodServerURLs: 2.82.1
|
||||||
nameOverrides: 2.81.1
|
nameOverrides: 2.81.1
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
python:
|
python:
|
||||||
version: 0.4.2
|
version: 0.4.3
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dependencies: {}
|
dependencies: {}
|
||||||
extraDependencies:
|
extraDependencies:
|
||||||
|
|||||||
10
RELEASES.md
10
RELEASES.md
@@ -99,3 +99,13 @@ Based on:
|
|||||||
- [python v0.4.1] .
|
- [python v0.4.1] .
|
||||||
### Releases
|
### Releases
|
||||||
- [PyPI v0.4.1] https://pypi.org/project/plex-api-client/0.4.1 - .
|
- [PyPI v0.4.1] https://pypi.org/project/plex-api-client/0.4.1 - .
|
||||||
|
|
||||||
|
## 2024-03-27 01:11:25
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.227.0 (2.291.0) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [python v0.4.3] .
|
||||||
|
### Releases
|
||||||
|
- [PyPI v0.4.3] https://pypi.org/project/plex-api-client/0.4.3 - .
|
||||||
2
setup.py
2
setup.py
@@ -10,7 +10,7 @@ except FileNotFoundError:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="plex-api-client",
|
name="plex-api-client",
|
||||||
version="0.4.2",
|
version="0.4.3",
|
||||||
author="LukeHagar",
|
author="LukeHagar",
|
||||||
description="Python Client SDK Generated by Speakeasy",
|
description="Python Client SDK Generated by Speakeasy",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|||||||
@@ -42,13 +42,13 @@ class BeforeRequestHook(ABC):
|
|||||||
|
|
||||||
class AfterSuccessHook(ABC):
|
class AfterSuccessHook(ABC):
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def after_success(self, hook_ctx: AfterSuccessContext, response: requests_http.Response) -> Union[requests_http.PreparedRequest, Exception]:
|
def after_success(self, hook_ctx: AfterSuccessContext, response: requests_http.Response) -> Union[requests_http.Response, Exception]:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class AfterErrorHook(ABC):
|
class AfterErrorHook(ABC):
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def after_error(self, hook_ctx: AfterErrorContext, response: Optional[requests_http.Response], error: Optional[Exception]) -> Union[Tuple[Optional[requests_http.PreparedRequest], Optional[Exception]], Exception]:
|
def after_error(self, hook_ctx: AfterErrorContext, response: Optional[requests_http.Response], error: Optional[Exception]) -> Union[Tuple[Optional[requests_http.Response], Optional[Exception]], Exception]:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ class SDKConfiguration:
|
|||||||
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
||||||
language: str = 'python'
|
language: str = 'python'
|
||||||
openapi_doc_version: str = '0.0.3'
|
openapi_doc_version: str = '0.0.3'
|
||||||
sdk_version: str = '0.4.2'
|
sdk_version: str = '0.4.3'
|
||||||
gen_version: str = '2.281.2'
|
gen_version: str = '2.291.0'
|
||||||
user_agent: str = 'speakeasy-sdk/python 0.4.2 2.281.2 0.0.3 plex-api-client'
|
user_agent: str = 'speakeasy-sdk/python 0.4.3 2.291.0 0.0.3 plex-api-client'
|
||||||
retry_config: RetryConfig = None
|
retry_config: RetryConfig = None
|
||||||
_hooks: SDKHooks = None
|
_hooks: SDKHooks = None
|
||||||
|
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ def get_query_params(clazz: type, query_params: Any, gbls: Optional[Dict[str, Di
|
|||||||
return params
|
return params
|
||||||
|
|
||||||
|
|
||||||
def get_headers(headers_params: Any) -> Dict[str, str]:
|
def get_headers(headers_params: Any, gbls: Optional[Dict[str, Dict[str, Dict[str, Any]]]] = None) -> Dict[str, str]:
|
||||||
if headers_params is None:
|
if headers_params is None:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
@@ -284,8 +284,8 @@ def get_headers(headers_params: Any) -> Dict[str, str]:
|
|||||||
if not metadata:
|
if not metadata:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
value = _serialize_header(metadata.get(
|
value = _populate_from_globals(field.name, getattr(headers_params, field.name), 'header', gbls)
|
||||||
'explode', False), getattr(headers_params, field.name))
|
value = _serialize_header(metadata.get('explode', False), value)
|
||||||
|
|
||||||
if value != '':
|
if value != '':
|
||||||
headers[metadata.get('field_name', field.name)] = value
|
headers[metadata.get('field_name', field.name)] = value
|
||||||
|
|||||||
Reference in New Issue
Block a user