fix: 🩹 added return type for check_validity function

This commit is contained in:
Akshay B Shetty 2023-10-10 06:06:37 +00:00
parent 7f689e4f5c
commit 812ae42274

View File

@ -42,10 +42,10 @@ Sources :
valid_variables: list[str] = ["v1", "v2", "p1", "p2"] valid_variables: list[str] = ["v1", "v2", "p1", "p2"]
def check_validity(values: dict[str, float]): def check_validity(values: dict[str, float]) -> None:
""" """
Function takes dictionary as an input and returns True if the input Function takes dictionary as an input and returns nothing if the input
is valid is valid
>>> check_validity({}) >>> check_validity({})