Skip to content

Commit

Permalink
[python-package] fix _LGBM_CustomMetricFunction typing (#5736)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deimos357 authored Feb 25, 2023
1 parent 42df0ff commit 1f828f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/lightgbm/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

_LGBM_CustomMetricFunction = Callable[
[np.ndarray, Dataset],
Tuple[str, float, bool]
Union[Tuple[str, float, bool], List[Tuple[str, float, bool]]]
]

_LGBM_PreprocFunction = Callable[
Expand Down

0 comments on commit 1f828f4

Please sign in to comment.