mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-18 10:00:40 +08:00
@@ -12,7 +12,7 @@ class PythonComponent(Protocol):
|
||||
self,
|
||||
code: str,
|
||||
kernel_id: str | None = None,
|
||||
timeout_seconds: int = 30,
|
||||
timeout: int = 30,
|
||||
silent: bool = False,
|
||||
) -> dict[str, Any]:
|
||||
"""Execute Python code"""
|
||||
|
||||
Reference in New Issue
Block a user