h
This commit is contained in:
@@ -15,7 +15,7 @@ import asyncio
|
||||
# Add parent directory to path for imports
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
from SYS.config import load_config, resolve_output_dir
|
||||
from SYS.result_table import ResultTable
|
||||
from SYS.result_table import Table
|
||||
from ProviderCore.registry import get_search_provider
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -59,7 +59,7 @@ class SearchModal(ModalScreen):
|
||||
self.tags_textarea: Optional[TextArea] = None
|
||||
self.library_source_select: Optional[Select] = None
|
||||
self.current_results: List[Any] = [] # List of SearchResult objects
|
||||
self.current_result_table: Optional[ResultTable] = None
|
||||
self.current_result_table: Optional[Table] = None
|
||||
self.is_searching = False
|
||||
self.current_worker = None # Track worker for search operations
|
||||
|
||||
@@ -189,7 +189,7 @@ class SearchModal(ModalScreen):
|
||||
self.current_worker.log_step(f"Found {len(results)} results")
|
||||
|
||||
# Create ResultTable
|
||||
table = ResultTable(f"Search Results: {query}")
|
||||
table = Table(f"Search Results: {query}")
|
||||
for res in results:
|
||||
row = table.add_row()
|
||||
# Add columns from result.columns
|
||||
|
||||
@@ -31,7 +31,7 @@ except Exception:
|
||||
WorkerManagerRegistry = None
|
||||
from SYS.logger import set_debug
|
||||
from SYS.rich_display import capture_rich_output
|
||||
from SYS.result_table import ResultTable
|
||||
from SYS.result_table import Table
|
||||
|
||||
|
||||
@dataclass(slots=True)
|
||||
@@ -199,7 +199,7 @@ class PipelineRunner:
|
||||
|
||||
if table is None and items:
|
||||
try:
|
||||
synth = ResultTable("Results")
|
||||
synth = Table("Results")
|
||||
for item in items:
|
||||
synth.add_result(item)
|
||||
table = synth
|
||||
|
||||
Reference in New Issue
Block a user