From 772cf153e4c1be336d8ca485d4828c5e77d96517 Mon Sep 17 00:00:00 2001 From: joranbeasley Date: Fri, 18 Nov 2022 22:00:48 -0800 Subject: [PATCH] Update utils.py resolves https://github.com/pyjanitor-devs/pyjanitor/issues/1201 --- janitor/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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." ),