Skip to content

Commit 2efbb60

Browse files
nishantb06pre-commit-ci[bot]bhimrazy
authored
fix(cli): fix missing __init__.py in cli/handler package (#799)
* adding init file for cli/handler * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports fixed * fix(cli): correct handler __init__.py exports and add license header - Replace non-existent `build_cache` with `show_cache_path` to fix ImportError - Add `show_cache_path` to `__all__` - Add Apache 2.0 license header consistent with rest of package --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: bhimrazy <bhimrajyadav977@gmail.com>
1 parent a8571e5 commit 2efbb60

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright The Lightning AI team.
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
14+
from litdata.cli.handler.cache import clear_cache, show_cache_path
15+
from litdata.cli.handler.optimize import optimize_dataset
16+
17+
__all__ = [
18+
"clear_cache",
19+
"show_cache_path",
20+
"optimize_dataset",
21+
]

0 commit comments

Comments
 (0)