Update task.py

This commit is contained in:
Taras Terletsky 2024-08-12 18:24:02 +03:00 committed by GitHub
parent 76dce04e97
commit 9c4b1892d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ from uuid import UUID
from sqlalchemy import insert, select
from sqlalchemy.exc import NoResultFound
from sqlalchemy.ext.asyncio import AsyncSession
from yt_shared.constants import ASYNC_LOCK
from yt_shared.constants import SHARED_ASYNC_LOCK
from yt_shared.enums import TaskStatus
from yt_shared.models import Cache, File, Task
from yt_shared.schemas.cache import CacheSchema