Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-04-27 13:32:06 -07:00
parent 699532553b
commit 553db98e51
2 changed files with 12 additions and 15 deletions

View File

@ -15,7 +15,6 @@ class Cluster:
cluster_port: Union[Unset, int] = UNSET
name: Union[Unset, str] = UNSET
tls_timeout: Union[Unset, int] = UNSET
from ..models import str
urls: Union[Unset, List[str]] = UNSET
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
@ -26,7 +25,6 @@ class Cluster:
cluster_port = self.cluster_port
name = self.name
tls_timeout = self.tls_timeout
from ..models import str
urls: Union[Unset, List[str]] = UNSET
if not isinstance(self.urls, Unset):
urls = self.urls
@ -62,7 +60,6 @@ class Cluster:
tls_timeout = d.pop("tls_timeout", UNSET)
from ..models import str
urls = cast(List[str], d.pop("urls", UNSET))
cluster = cls(