Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix tags field for DeviceDetailsResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
cicharka committed Apr 17, 2024
1 parent b34560b commit 3d983a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalystwan/endpoints/configuration_device_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# mypy: disable-error-code="empty-body"
from pathlib import Path
from typing import List, Literal, Optional, Union
from typing import Dict, List, Literal, Optional, Union
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field
Expand Down Expand Up @@ -126,7 +126,7 @@ class DeviceDetailsResponse(BaseModel):
default=None, validation_alias="resourceGroup", serialization_alias="resourceGroup"
)
id: Optional[str] = None
tags: Optional[List[str]] = None
tags: Optional[Union[List[str], List[Dict]]] = None
draft_mode: Optional[str] = Field(default=None, validation_alias="draftMode", serialization_alias="draftMode")
solution: Optional[str] = None
device_lock: Optional[str] = Field(default=None, validation_alias="device-lock", serialization_alias="device-lock")
Expand Down

0 comments on commit 3d983a1

Please sign in to comment.