diff --git a/janitor/utils.py b/janitor/utils.py index 3101bed0f..83b1eb9a5 100644 --- a/janitor/utils.py +++ b/janitor/utils.py @@ -6,7 +6,7 @@ import os import sys import socket -from typing import Callable, Dict, Iterable, Union +from typing import Callable, Dict, Iterable, Union, List from functools import singledispatch, wraps from warnings import warn @@ -213,7 +213,7 @@ def idempotent(func: Callable, df: pd.DataFrame, *args, **kwargs): def deprecated_kwargs( - *arguments: list[str], + *arguments: List[str], message: str = ( "The keyword argument '{argument}' of '{func_name}' is deprecated." ),