We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe7beba commit a79be34Copy full SHA for a79be34
src/libkernelbot/launchers/modal.py
@@ -32,7 +32,7 @@ async def run_submission(
32
33
result = await loop.run_in_executor(
34
None,
35
- lambda: modal.Function.lookup("discord-bot-runner", func_name).remote(config=config),
+ lambda: modal.Function.from_name("discord-bot-runner", func_name).remote(config=config),
36
)
37
38
await status.update("✅ Waiting for modal run to finish... Done")
0 commit comments