api/hw: rename 'describe_machine_hardware' into 'get_machine_hardware_summary'
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user