Skip to content

Commit ffbde1d

Browse files
committed
fix: _parse return type
1 parent 3750d55 commit ffbde1d

File tree

1 file changed

+1
-1
lines changed
  • aws_lambda_powertools/utilities/parser/envelopes

1 file changed

+1
-1
lines changed

aws_lambda_powertools/utilities/parser/envelopes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class BaseEnvelope(ABC):
1111
"""ABC implementation for creating a supported Envelope"""
1212

1313
@staticmethod
14-
def _parse(data: Union[Dict[str, Any], str], model: Model) -> Model:
14+
def _parse(data: Union[Dict[str, Any], str], model: Model) -> Union[Model, None]:
1515
"""Parses envelope data against model provided
1616
1717
Parameters

0 commit comments

Comments
 (0)