Skip to content

Commit 3f06254

Browse files
committed
fix for weird pydantic error (not fully defined)
1 parent ae6c5af commit 3f06254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scheduler/analysis/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
from pydantic import BaseModel, ConfigDict
1717

1818
import config
19+
from objects.file import FileObject # noqa: TCH001 # needed by pydantic
1920
from statistic.analysis_stats import ANALYSIS_STATS_LIMIT
2021
from storage.fsorganizer import FSOrganizer
2122

2223
if typing.TYPE_CHECKING:
2324
from analysis.plugin import AnalysisPluginV0
24-
from objects.file import FileObject
2525

2626

2727
class PluginRunner:

0 commit comments

Comments
 (0)