* upgrade pydantic Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * update other deps Signed-off-by: Jess Frazelle <github@jessfraz.com> * update other deps Signed-off-by: Jess Frazelle <github@jessfraz.com> * ruff Signed-off-by: Jess Frazelle <github@jessfraz.com> * bump more deps Signed-off-by: Jess Frazelle <github@jessfraz.com> * update Signed-off-by: Jess Frazelle <github@jessfraz.com> * format Signed-off-by: Jess Frazelle <github@jessfraz.com> * bump Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
16 lines
253 B
Python
16 lines
253 B
Python
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class LeafNode(BaseModel):
|
|
"""Leaf node information."""
|
|
|
|
auth_timeout: int = 0
|
|
|
|
host: str = ""
|
|
|
|
port: int = 0
|
|
|
|
tls_timeout: int = 0
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|