Skip to content

Commit

Permalink
Appease the type checker
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbern committed Jan 21, 2025
1 parent cb5b91f commit 11293e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 11293e3

Please sign in to comment.