Migrate imports to SYS package (pipeline/result_table) and update related imports
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled
This commit is contained in:
@@ -6,8 +6,6 @@ import sys
|
||||
import re
|
||||
from fnmatch import fnmatch
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import pipeline as ctx
|
||||
from . import _shared as sh
|
||||
|
||||
Cmdlet, SharedArgs, parse_cmdlet_args, get_field, normalize_hash = (
|
||||
@@ -19,6 +17,7 @@ Cmdlet, SharedArgs, parse_cmdlet_args, get_field, normalize_hash = (
|
||||
)
|
||||
from SYS.logger import log
|
||||
from Store import Store
|
||||
from SYS import pipeline as ctx
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -172,7 +171,7 @@ class Get_Url(Cmdlet):
|
||||
return 1
|
||||
|
||||
# Create result table
|
||||
from result_table import ResultTable
|
||||
from SYS.result_table import ResultTable
|
||||
|
||||
table = (
|
||||
ResultTable(
|
||||
@@ -244,7 +243,7 @@ class Get_Url(Cmdlet):
|
||||
|
||||
urls = backend.get_url(file_hash)
|
||||
|
||||
from result_table import ResultTable
|
||||
from SYS.result_table import ResultTable
|
||||
|
||||
title = str(get_field(result, "title") or "").strip()
|
||||
table_title = "Title"
|
||||
|
||||
Reference in New Issue
Block a user