Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit 1f7e450

Browse files
authored
Add __version__ to init (#43)
1 parent 20e28a7 commit 1f7e450

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

xgboost_ray/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
RayFileType, RayShardingMode, \
44
Data, combine_data
55

6+
__version__ = "0.0.2"
7+
68
__all__ = [
7-
"RayParams", "RayDMatrix", "RayDeviceQuantileDMatrix", "RayFileType",
8-
"RayShardingMode", "Data", "combine_data", "train", "predict"
9+
"__version__", "RayParams", "RayDMatrix", "RayDeviceQuantileDMatrix",
10+
"RayFileType", "RayShardingMode", "Data", "combine_data", "train",
11+
"predict"
912
]

xgboost_ray/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import threading
21
from typing import Tuple, Dict, Any, List, Optional, Callable, Union
32
from dataclasses import dataclass, field
43

54
import multiprocessing
65
import os
76
import pickle
87
import time
8+
import threading
99

1010
import numpy as np
1111

0 commit comments

Comments
 (0)