Skip to content
Snippets Groups Projects
Commit 8d01e101 authored by Tim Repke's avatar Tim Repke
Browse files

fix mypy

parent 9607bcaf
No related branches found
No related tags found
1 merge request!96fix import
Pipeline #3574 passed
......@@ -29,7 +29,7 @@ def prefix_sources(sources: list[Path]):
async def import_task(import_id: str | None = None) -> None:
async with NacsosActor.exec_context() as (db_settings, logger, target_dir, work_dir, task_id, message_id):
logger.info('Preparing import task!')
db_engine = get_engine_async(settings=db_settings)
db_engine = get_engine_async(settings=db_settings) # type: ignore[arg-type]
async with db_engine.session() as session:
if import_id is None:
raise ValueError('import_id is required here.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment