diff --git a/modal/functions.py b/modal/functions.py index 93146fd1f..f240b2418 100644 --- a/modal/functions.py +++ b/modal/functions.py @@ -786,7 +786,7 @@ async def _load(self: _Function, resolver: Resolver, existing_object_id: Optiona concurrency_limit=concurrency_limit or 0, pty_info=pty_info, cloud_provider=cloud_provider, # Deprecated at some point - cloud_provider_str=cloud.upper() if cloud else None, # Supersedes cloud_provider + cloud_provider_str=cloud.upper() if cloud else "", # Supersedes cloud_provider warm_pool_size=keep_warm or 0, runtime=config.get("function_runtime"), runtime_debug=config.get("function_runtime_debug"),