MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / _widget_add

Function _widget_add

tests/integration/test_workspaces.py:62–71  ·  view source on GitHub ↗
(api_client, workspace_id, widget_type, group_id, relative_index)

Source from the content-addressed store, hash-verified

60
61
62def _widget_add(api_client, workspace_id, widget_type, group_id, relative_index):
63 return api_client.command(
64 "project.workspace.addWidget",
65 {
66 "workspaceId": workspace_id,
67 "widgetType": widget_type,
68 "groupId": group_id,
69 "relativeIndex": relative_index,
70 },
71 )
72
73
74def _widget_remove(api_client, workspace_id, widget_type, group_id, relative_index):

Calls 1

commandMethod · 0.80

Tested by

no test coverage detected