Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
702fff22
Unverified
Commit
702fff22
authored
Sep 20, 2021
by
Nikita Titov
Committed by
GitHub
Sep 20, 2021
Browse files
fix mypy error (#4615)
parent
d10f9d43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python-package/lightgbm/dask.py
python-package/lightgbm/dask.py
+1
-1
No files found.
python-package/lightgbm/dask.py
View file @
702fff22
...
@@ -30,7 +30,7 @@ _DaskVectorLike = Union[dask_Array, dask_Series]
...
@@ -30,7 +30,7 @@ _DaskVectorLike = Union[dask_Array, dask_Series]
_DaskPart
=
Union
[
np
.
ndarray
,
pd_DataFrame
,
pd_Series
,
ss
.
spmatrix
]
_DaskPart
=
Union
[
np
.
ndarray
,
pd_DataFrame
,
pd_Series
,
ss
.
spmatrix
]
_PredictionDtype
=
Union
[
Type
[
np
.
float32
],
Type
[
np
.
float64
],
Type
[
np
.
int32
],
Type
[
np
.
int64
]]
_PredictionDtype
=
Union
[
Type
[
np
.
float32
],
Type
[
np
.
float64
],
Type
[
np
.
int32
],
Type
[
np
.
int64
]]
_HostWorkers
=
namedtuple
(
'HostWorkers'
,
[
'default'
,
'all'
])
_HostWorkers
=
namedtuple
(
'
_
HostWorkers'
,
[
'default'
,
'all'
])
class
_DatasetNames
(
Enum
):
class
_DatasetNames
(
Enum
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment