Don't allow None for org id (partial mypy only change) more to come (#2613)

This commit is contained in:
Asher Foa
2025-06-05 19:00:20 -04:00
committed by GitHub
parent 990b1c921f
commit e258c6332d
5 changed files with 5 additions and 5 deletions

View File

@@ -210,7 +210,7 @@ class ForgeAgent:
)
return task, step
async def create_task(self, task_request: TaskRequest, organization_id: str | None = None) -> Task:
async def create_task(self, task_request: TaskRequest, organization_id: str) -> Task:
webhook_callback_url = str(task_request.webhook_callback_url) if task_request.webhook_callback_url else None
totp_verification_url = str(task_request.totp_verification_url) if task_request.totp_verification_url else None
task = await app.DATABASE.create_task(