Skip to content

Commit 73d985c

Browse files
docs
1 parent b181ffa commit 73d985c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

linode_api4/objects/linode.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,18 @@ class InterfaceGeneration(StrEnum):
670670

671671
@dataclass
672672
class UpgradeInterfacesResult(JSONObject):
673+
"""
674+
Contains information about an Linode Interface upgrade operation.
675+
676+
NOTE: If dry_run is True, each returned interface will be of type Dict[str, Any].
677+
Otherwise, each returned interface will be of type LinodeInterface.
678+
679+
API Documentation: Not yet available.
680+
"""
681+
673682
dry_run: bool = False
674683
config_id: int = 0
675-
interfaces: List[LinodeInterface] = field(default_factory=list)
684+
interfaces: List[Union[Dict[str, Any], LinodeInterface]] = field(default_factory=list)
676685

677686

678687
class Instance(Base):

0 commit comments

Comments
 (0)