fix: Dataset import
This commit is contained in:
parent
fda0edc075
commit
310d713fac
1 changed files with 0 additions and 2 deletions
|
|
@ -61,8 +61,6 @@ if modal:
|
||||||
from cognee.infrastructure.databases.relational import get_relational_engine
|
from cognee.infrastructure.databases.relational import get_relational_engine
|
||||||
|
|
||||||
async with get_relational_engine().get_async_session() as session:
|
async with get_relational_engine().get_async_session() as session:
|
||||||
from cognee.modules.data.models import Dataset
|
|
||||||
|
|
||||||
dataset = await session.get(Dataset, dataset_id)
|
dataset = await session.get(Dataset, dataset_id)
|
||||||
|
|
||||||
result = await run_tasks_data_item(
|
result = await run_tasks_data_item(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue