chore: bound RELLIS qualification CLI output
This commit is contained in:
parent
f2f044080f
commit
8446eb4492
|
|
@ -294,7 +294,20 @@ def qualify_rellis_ground_command(
|
|||
except (RellisAdmissionError, ValueError) as exc:
|
||||
typer.echo(str(exc), err=True)
|
||||
raise typer.Exit(code=2) from exc
|
||||
typer.echo(json.dumps(report, ensure_ascii=False, sort_keys=True))
|
||||
typer.echo(
|
||||
json.dumps(
|
||||
{
|
||||
"run_id": report["run_id"],
|
||||
"source_id": report["source_id"],
|
||||
"frame_count": report["frame_count"],
|
||||
"identity_sha256": report["identity_sha256"],
|
||||
"decision": report["decision"],
|
||||
"aggregates": report["aggregates"],
|
||||
},
|
||||
ensure_ascii=False,
|
||||
sort_keys=True,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue