Don't allow None for org id (partial mypy only change) more to come (#2613)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user