* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-07-31 12:50:30 -07:00
committed by GitHub
parent d678182dcf
commit 4c3f497d73
141 changed files with 1432 additions and 566 deletions

View File

@ -4,14 +4,15 @@ import attr
from ..types import UNSET, Unset
V = TypeVar("V", bound="PluginsInfo")
UP = TypeVar("UP", bound="PluginsInfo")
@attr.s(auto_attribs=True)
class PluginsInfo:
"""Available plugins per type.
**Note**: Only unmanaged (V1) plugins are included in this list. V1 plugins are \"lazily\" loaded, and are not returned in this list if there is no resource using the plugin.""" # noqa: E501
**Note**: Only unmanaged (V1) plugins are included in this list. V1 plugins are \"lazily\" loaded, and are not returned in this list if there is no resource using the plugin.
""" # noqa: E501
authorization: Union[Unset, List[str]] = UNSET
log: Union[Unset, List[str]] = UNSET
@ -49,7 +50,7 @@ class PluginsInfo:
return field_dict
@classmethod
def from_dict(cls: Type[V], src_dict: Dict[str, Any]) -> V:
def from_dict(cls: Type[UP], src_dict: Dict[str, Any]) -> UP:
d = src_dict.copy()
authorization = cast(List[str], d.pop("authorization", UNSET))