mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-09 20:57:44 +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:
|
||||
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: 1.210.0
|
||||
generationVersion: 2.281.2
|
||||
releaseVersion: 0.4.2
|
||||
configChecksum: 91784c6d1608677dcdc20f3be8c9229b
|
||||
speakeasyVersion: 1.227.0
|
||||
generationVersion: 2.291.0
|
||||
releaseVersion: 0.4.3
|
||||
configChecksum: 136cb7b5342757cec11941f6d809b129
|
||||
repoURL: https://github.com/LukeHagar/plexpy.git
|
||||
repoSubDirectory: .
|
||||
installationURL: https://github.com/LukeHagar/plexpy.git
|
||||
@@ -14,9 +14,9 @@ management:
|
||||
features:
|
||||
python:
|
||||
constsAndDefaults: 0.1.3
|
||||
core: 4.5.1
|
||||
core: 4.5.2
|
||||
flattening: 2.81.1
|
||||
globalSecurity: 2.83.4
|
||||
globalSecurity: 2.83.5
|
||||
globalServerURLs: 2.82.2
|
||||
methodServerURLs: 2.82.1
|
||||
nameOverrides: 2.81.1
|
||||
|
||||
@@ -12,7 +12,7 @@ generation:
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: false
|
||||
python:
|
||||
version: 0.4.2
|
||||
version: 0.4.3
|
||||
additionalDependencies:
|
||||
dependencies: {}
|
||||
extraDependencies:
|
||||
|
||||
10
RELEASES.md
10
RELEASES.md
@@ -99,3 +99,13 @@ Based on:
|
||||
- [python v0.4.1] .
|
||||
### Releases
|
||||
- [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(
|
||||
name="plex-api-client",
|
||||
version="0.4.2",
|
||||
version="0.4.3",
|
||||
author="LukeHagar",
|
||||
description="Python Client SDK Generated by Speakeasy",
|
||||
long_description=long_description,
|
||||
|
||||
@@ -42,13 +42,13 @@ class BeforeRequestHook(ABC):
|
||||
|
||||
class AfterSuccessHook(ABC):
|
||||
@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
|
||||
|
||||
|
||||
class AfterErrorHook(ABC):
|
||||
@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
|
||||
|
||||
|
||||
|
||||
@@ -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.4.2'
|
||||
gen_version: str = '2.281.2'
|
||||
user_agent: str = 'speakeasy-sdk/python 0.4.2 2.281.2 0.0.3 plex-api-client'
|
||||
sdk_version: str = '0.4.3'
|
||||
gen_version: str = '2.291.0'
|
||||
user_agent: str = 'speakeasy-sdk/python 0.4.3 2.291.0 0.0.3 plex-api-client'
|
||||
retry_config: RetryConfig = None
|
||||
_hooks: SDKHooks = None
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ def get_query_params(clazz: type, query_params: Any, gbls: Optional[Dict[str, Di
|
||||
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:
|
||||
return {}
|
||||
|
||||
@@ -284,8 +284,8 @@ def get_headers(headers_params: Any) -> Dict[str, str]:
|
||||
if not metadata:
|
||||
continue
|
||||
|
||||
value = _serialize_header(metadata.get(
|
||||
'explode', False), getattr(headers_params, field.name))
|
||||
value = _populate_from_globals(field.name, getattr(headers_params, field.name), 'header', gbls)
|
||||
value = _serialize_header(metadata.get('explode', False), value)
|
||||
|
||||
if value != '':
|
||||
headers[metadata.get('field_name', field.name)] = value
|
||||
|
||||
Reference in New Issue
Block a user