Skip to content

Commit

Permalink
[Storage] Add StorageMode to __init__ (#1223)
Browse files Browse the repository at this point in the history
* Add storage mode to __init__

* fix
  • Loading branch information
romilbhardwaj authored Oct 11, 2022
1 parent 48e1e63 commit edcfde3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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']

0 comments on commit edcfde3

Please sign in to comment.