Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ Contributors
- [@apatao](https://github.com/apatao) | [contributions](https://github.com/pyjanitor-devs/pyjanitor/issues?q=is%3Aclosed+mentions%3Aapatao)
- [@OdinTech3](https://github.com/OdinTech3) | [contributions](https://github.com/pyjanitor-devs/pyjanitor/pull/1094)
- [@asmirnov69](https://github.com/asmirnov69) | [contributions](https://github.com/pyjanitor-devs/pyjanitor/issues/1059)
- [@xujiboy](https://github.com/xujiboy) | [contributions](https://github.com/pyjanitor-devs/pyjanitor/issues/1201)
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

- [BUG] address the `TypeError` when importing v0.24.0 (issue #1201 @xujiboy)

## [v0.24.0] - 2022-11-12

- [ENH] Add lazy imports to speed up the time taken to load pyjanitor (part 2)
Expand Down
4 changes: 2 additions & 2 deletions janitor/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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."
),
Expand Down