Skip to content

Commit

Permalink
Add return type annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Aug 1, 2024
1 parent f581d8a commit ead1e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metalearners/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def infer_input_dict(model) -> dict:
return input_dict


def warning_experimental_feature(function_name: str):
def warning_experimental_feature(function_name: str) -> None:
warnings.warn(
f"{function_name} is an experimental feature. Use it at your own risk!",
stacklevel=2,
Expand Down

0 comments on commit ead1e30

Please sign in to comment.