Skip to content

Commit 4673ead

Browse files
committed
use type annotations for page result
1 parent 58ddea7 commit 4673ead

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/msgraph_core/models/page_result.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
PageResult: Represents a page of items in a paged response.
1111
"""
1212
from typing import Any, List, Optional
13+
from __future__ import annotations
1314

1415
from kiota_abstractions.serialization.parsable import Parsable # type: ignore
1516
from kiota_abstractions.serialization.serialization_writer \
@@ -69,7 +70,7 @@ def value(self, value: Optional[List[T]]) -> None:
6970
self._value = value
7071

7172
@staticmethod
72-
def create_from_discriminator_value(parse_node: ParseNode) -> 'PageResult': # pylint: disable=unused-argument
73+
def create_from_discriminator_value(parse_node: ParseNode) -> PageResult: # pylint: disable=unused-argument
7374
"""
7475
Creates a PageResult from a discriminator value.
7576
Returns:

0 commit comments

Comments
 (0)