h
This commit is contained in:
@@ -15,7 +15,7 @@ SharedArgs = sh.SharedArgs
|
||||
parse_cmdlet_args = sh.parse_cmdlet_args
|
||||
get_field = sh.get_field
|
||||
from SYS import pipeline as ctx
|
||||
from SYS.result_table import ResultTable
|
||||
from SYS.result_table import Table
|
||||
|
||||
|
||||
class Get_Metadata(Cmdlet):
|
||||
@@ -147,7 +147,7 @@ class Get_Metadata(Cmdlet):
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
def _add_table_body_row(table: ResultTable, row: Dict[str, Any]) -> None:
|
||||
def _add_table_body_row(table: Table, row: Dict[str, Any]) -> None:
|
||||
"""Add a single row to the ResultTable using the prepared columns."""
|
||||
columns = row.get("columns") if isinstance(row, dict) else None
|
||||
lookup: Dict[str,
|
||||
@@ -285,7 +285,7 @@ class Get_Metadata(Cmdlet):
|
||||
)
|
||||
|
||||
table_title = f"get-metadata: {title}" if title else "get-metadata"
|
||||
table = ResultTable(table_title
|
||||
table = Table(table_title
|
||||
).init_command(table_title,
|
||||
"get-metadata",
|
||||
list(args))
|
||||
|
||||
Reference in New Issue
Block a user