mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-01 18:20:06 +00:00
sequence type in db client (#322)
This commit is contained in:
parent
f2f9122799
commit
cc50b81a4d
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
from datetime import datetime
|
||||
from typing import Any
|
||||
from typing import Any, Sequence
|
||||
|
||||
import structlog
|
||||
from sqlalchemy import and_, delete, select
|
||||
|
@ -234,7 +234,7 @@ class AgentDB:
|
|||
LOG.error("UnexpectedError", exc_info=True)
|
||||
raise
|
||||
|
||||
async def get_task_step_models(self, task_id: str, organization_id: str | None = None) -> list[StepModel]:
|
||||
async def get_task_step_models(self, task_id: str, organization_id: str | None = None) -> Sequence[StepModel]:
|
||||
try:
|
||||
async with self.Session() as session:
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue