Skip to content

Commit

Permalink
Add __version__ to init (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
krfricke authored Jan 7, 2021
1 parent 20e28a7 commit 1f7e450
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions xgboost_ray/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
RayFileType, RayShardingMode, \
Data, combine_data

__version__ = "0.0.2"

__all__ = [
"RayParams", "RayDMatrix", "RayDeviceQuantileDMatrix", "RayFileType",
"RayShardingMode", "Data", "combine_data", "train", "predict"
"__version__", "RayParams", "RayDMatrix", "RayDeviceQuantileDMatrix",
"RayFileType", "RayShardingMode", "Data", "combine_data", "train",
"predict"
]
2 changes: 1 addition & 1 deletion xgboost_ray/main.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import threading
from typing import Tuple, Dict, Any, List, Optional, Callable, Union
from dataclasses import dataclass, field

import multiprocessing
import os
import pickle
import time
import threading

import numpy as np

Expand Down

0 comments on commit 1f7e450

Please sign in to comment.