api/hw: rename 'describe_machine_hardware' into 'get_machine_hardware_summary'

This commit is contained in:
Johannes Kirschbauer
2025-07-07 14:05:57 +02:00
parent 5b6f5e812b
commit fcef864ee3
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ export const HWStep = (props: StepProps<HardwareValues>) => {
const hwReportQuery = useQuery(() => ({
queryKey: [props.dir, props.machine_id, "hw_report"],
queryFn: async () => {
const result = await callApi("describe_machine_hardware", {
const result = await callApi("get_machine_hardware_summary", {
machine: {
flake: {
identifier: props.dir,

View File

@@ -157,7 +157,7 @@ class MachineHardwareBrief(TypedDict):
@API.register
def describe_machine_hardware(machine: Machine) -> MachineHardwareBrief:
def get_machine_hardware_summary(machine: Machine) -> MachineHardwareBrief:
"""
Return a high-level summary of hardware config and platform type.
"""