mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 23:01:15 +02:00
fix(typing): resolve mypy errors in schemas.controller.appliances
This commit is contained in:
2 files changed
+1
-2
No files matched your search
@@ -782,7 +782,7 @@ Appliance = ApplianceUnion
|
||||
# Create a validator wrapper for convenience
|
||||
from pydantic import TypeAdapter
|
||||
|
||||
_appliance_validator = TypeAdapter(ApplianceUnion)
|
||||
_appliance_validator: TypeAdapter[Union[ApplianceV1_6, ApplianceV8]] = TypeAdapter(ApplianceUnion)
|
||||
|
||||
|
||||
class ApplianceModel:
|
||||
|
||||
Reference in new issue
Block a user