File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1111from dstack ._internal .core .backends .configurators import list_available_configurator_classes
1212from dstack ._internal .core .backends .local .compute import LocalCompute
1313from dstack ._internal .core .models .backends .base import BackendType
14- from dstack ._internal .server . settings import LOCAL_BACKEND_ENABLED
14+ from dstack ._internal .settings import LOCAL_BACKEND_ENABLED
1515
1616
1717def _get_backends_with_compute_feature (
Original file line number Diff line number Diff line change 3535from dstack ._internal .core .models .runs import Requirements
3636from dstack ._internal .server import settings
3737from dstack ._internal .server .models import BackendModel , DecryptedString , ProjectModel
38- from dstack ._internal .server . settings import LOCAL_BACKEND_ENABLED
38+ from dstack ._internal .settings import LOCAL_BACKEND_ENABLED
3939from dstack ._internal .utils .common import run_async
4040from dstack ._internal .utils .logging import get_logger
4141
Original file line number Diff line number Diff line change 9797
9898SQL_ECHO_ENABLED = os .getenv ("DSTACK_SQL_ECHO_ENABLED" ) is not None
9999
100- LOCAL_BACKEND_ENABLED = os .getenv ("DSTACK_LOCAL_BACKEND_ENABLED" ) is not None
101-
102100UPDATE_DEFAULT_PROJECT = os .getenv ("DSTACK_UPDATE_DEFAULT_PROJECT" ) is not None
103101DO_NOT_UPDATE_DEFAULT_PROJECT = os .getenv ("DSTACK_DO_NOT_UPDATE_DEFAULT_PROJECT" ) is not None
104102SKIP_GATEWAY_UPDATE = os .getenv ("DSTACK_SKIP_GATEWAY_UPDATE" , None ) is not None
Original file line number Diff line number Diff line change 1919)
2020DSTACK_DIND_IMAGE = os .getenv ("DSTACK_DIND_IMAGE" , "dstackai/dind" )
2121
22+ # Development settings
23+
24+ LOCAL_BACKEND_ENABLED = os .getenv ("DSTACK_LOCAL_BACKEND_ENABLED" ) is not None
25+
2226
2327class FeatureFlags :
2428 """
You can’t perform that action at this time.
0 commit comments