Skip to content

Commit

Permalink
resolve pydantic error in test_awslambda (#2460)
Browse files Browse the repository at this point in the history
  • Loading branch information
ITProKyle authored Jul 23, 2024
1 parent fd06ee7 commit 0c9a6b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class AwslambdaStackOutputs(BaseModel):
Runtime: str

@root_validator(allow_reuse=True, pre=True)
def _convert_null_to_none(self, values: dict[str, Any]) -> dict[str, Any]:
def _convert_null_to_none(cls, values: dict[str, Any]) -> dict[str, Any]: # noqa: N805
"""Convert ``null`` to ``NoneType``."""

def _handle_null(v: Any) -> Any:
Expand Down

0 comments on commit 0c9a6b2

Please sign in to comment.