diff --git a/sky/resources.py b/sky/resources.py index 4391c2d5fb9..222be919d13 100644 --- a/sky/resources.py +++ b/sky/resources.py @@ -206,8 +206,7 @@ def __init__( self._docker_login_config = _docker_login_config - self._requires_fuse = (_requires_fuse - if _requires_fuse is not None else False) + self._requires_fuse = _requires_fuse self._set_cpus(cpus) self._set_memory(memory) @@ -422,7 +421,9 @@ def is_image_managed(self) -> Optional[bool]: return self._is_image_managed @property - def requires_fuse(self) -> Optional[bool]: + def requires_fuse(self) -> bool: + if self._requires_fuse is None: + return False return self._requires_fuse @requires_fuse.setter