Skip to content
Snippets Groups Projects
Commit 765e15ef authored by dmt's avatar dmt
Browse files

Define request for knowledge searching and add Constructor and Reconstructor to __all__.

parent c7852eaa
No related branches found
No related tags found
No related merge requests found
__all__ = (
"Construction"
)
......
__all__ = (
"Reconstruction"
)
......
from dataclasses import dataclass
from cml.ports.source_adapters import Adapter
from cml.shared.settings import PreprocessingSettings, BlockProcessingSettings
from cml.domain.reconstruction import Reconstructor
from cml.domain.data_source import DataSource
from cml.domain.construction import Constructor
from cml.shared.settings import (
PreprocessingSettings,
BlockProcessingSettings,
DeconstructionSettings
)
@dataclass
......@@ -9,3 +16,11 @@ class PreprocessRequest:
source_adapter: Adapter
pre_settings: PreprocessingSettings
block_settings: BlockProcessingSettings
@dataclass
class KnowledgeSearchRequest:
constructor: Constructor
reconstructor: Reconstructor
data_source: DataSource
deconstruction_settings: DeconstructionSettings
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