Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Add StorageMode to __init__ #1223

Merged
merged 2 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sky/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from sky.resources import Resources
from sky.task import Task
from sky.optimizer import Optimizer, OptimizeTarget
from sky.data import Storage, StoreType
from sky.data import Storage, StorageMode, StoreType
from sky.global_user_state import ClusterStatus
from sky.skylet.job_lib import JobStatus
from sky.core import (status, start, stop, down, autostop, queue, cancel,
Expand All @@ -43,6 +43,7 @@
'list_accelerators',
'__root_dir__',
'Storage',
'StorageMode',
'StoreType',
'ClusterStatus',
'JobStatus',
Expand Down
4 changes: 2 additions & 2 deletions sky/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Sky Data."""
from sky.data.storage import Storage, StoreType
from sky.data.storage import Storage, StorageMode, StoreType

__all__ = ['Storage', 'StoreType']
__all__ = ['Storage', 'StorageMode', 'StoreType']