Skip to content

Commit d832cdc

Browse files
committed
fix: optional type definition for on before event in parse node
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent b23edcb commit d832cdc

File tree

1 file changed

+1
-1
lines changed
  • packages/abstractions/kiota_abstractions/serialization

1 file changed

+1
-1
lines changed

packages/abstractions/kiota_abstractions/serialization/parse_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_bytes_value(self) -> Optional[bytes]:
177177

178178
@property
179179
@abstractmethod
180-
def on_before_assign_field_values(self) -> Callable[[Parsable], None]:
180+
def on_before_assign_field_values(self) -> Optional[Callable[[Parsable], None]]:
181181
"""Gets the callback called before the node is deserialized.
182182
183183
Returns:

0 commit comments

Comments
 (0)