Skip to content

Commit

Permalink
refs microsoft#285 make list of type UntypedNode
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitkrsoni committed Jun 3, 2024
1 parent 6b4768b commit 3cf2a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiota_abstractions/serialization/untyped_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class UntypedList(UntypedNode):
Represents an untyped node with list value.
"""

def __init__(self, value: list) -> None:
def __init__(self, value: list[UntypedNode]) -> None:
"""
Creates a new instance of UntypedList.
Expand All @@ -14,7 +14,7 @@ def __init__(self, value: list) -> None:
"""
self.__value = value

def get_value(self) -> list:
def get_value(self) -> list[UntypedNode]:
"""
Gets the value associated with untyped list node.
Expand Down

0 comments on commit 3cf2a67

Please sign in to comment.