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
6f459cee
"vscode:/vscode.git/clone" did not exist on "f57ef6f479dc677448646cf5c4888a7965050401"
Unverified
Commit
6f459cee
authored
Feb 25, 2023
by
James Lamb
Committed by
GitHub
Feb 25, 2023
Browse files
[python-package] use _DatasetHandle type hint (#5740)
parent
fe15761b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python-package/lightgbm/basic.py
python-package/lightgbm/basic.py
+1
-1
No files found.
python-package/lightgbm/basic.py
View file @
6f459cee
...
...
@@ -1364,7 +1364,7 @@ class Dataset:
free_raw_data : bool, optional (default=True)
If True, raw data is freed after constructing inner Dataset.
"""
self
.
handle
:
Optional
[
ctypes
.
c_void_p
]
=
None
self
.
handle
:
Optional
[
_DatasetHandle
]
=
None
self
.
data
=
data
self
.
label
=
label
self
.
reference
=
reference
...
...
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