pydantic cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-01-06 18:32:21 -08:00
parent b233f94a24
commit 8d476bbec6
140 changed files with 1122 additions and 540 deletions

View File

@ -1,6 +1,6 @@
from typing import List
from pydantic import BaseModel
from pydantic import BaseModel, ConfigDict
from ..models.path_segment_info import PathSegmentInfo
@ -9,3 +9,5 @@ class PathGetInfo(BaseModel):
"""The response from the `PathGetInfo` command."""
segments: List[PathSegmentInfo]
model_config = ConfigDict(protected_namespaces=())