code: def init_default_storage():
      global _default_storage
      if settings.SERVER_BUCKET is None:
          raise ValueError("settings.SERVER_BUCKET not set")
      if not BOTO_AVAILABLE:
          raise ValueError("AWS dependencies are not installed")
      _default_storage = S3Storage(
          bucket=settings.SERVER_BUCKET,
          region=settings.SERVER_BUCKET_REGION,
      )
  
file_path: dstack/src/dstack/_internal/server/services/storage.py
imports: from typing import Optional
  from dstack._internal.server import settings
label_desc: Use image node_id 2 for calling a global function with example usage: init_default_storage() without return types