This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from CiscoDevNet/dev/ux-migration-models-fix
model fixes
- Loading branch information
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from typing import List, Literal, Optional | ||
from uuid import UUID | ||
|
||
from pydantic import BaseModel, Field | ||
|
||
|
||
class TopologyGroup(BaseModel): | ||
name: str | ||
solution: Literal["sdwan"] = "sdwan" | ||
profiles: List[UUID] = [] | ||
from_topology_group: Optional[UUID] = Field( | ||
default=None, serialization_alias="fromTopologyGroup", validation_alias="fromTopologyGroup" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "catalystwan" | ||
version = "0.31.0dev3" | ||
version = "0.31.0dev4" | ||
description = "Cisco Catalyst WAN SDK for Python" | ||
authors = ["kagorski <[email protected]>"] | ||
readme = "README.md" | ||
|