Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.9.25 (2025-12-05)

### Changes

- Re-generate graph api.

## 0.9.24 (2025-10-24)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion python/mujinwebstackclient/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.9.24'
__version__ = '0.9.25'

# Do not forget to update CHANGELOG.md
215 changes: 204 additions & 11 deletions python/mujinwebstackclient/webstackgraphclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# DO NOT EDIT, THIS FILE WAS AUTO-GENERATED
# GENERATED BY: mujin_webstackclientpy_generategraphclient.py
# GENERATED AGAINST: mujinwebstack/2.34.23+6d3647b06ff15c20f5c09554ad343785e25954e7
# GENERATED AGAINST: mujinwebstack/2.35.29+e5dac01fbda79dacb960549c4aa193d5da9bbba5
#

import warnings
Expand Down Expand Up @@ -35,6 +35,27 @@ def CommandBaseSystemOrchestrator(
]
return self._CallSimpleGraphAPI('query', operationName='CommandBaseSystemOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandBaseSystemOrchestratorQueries', fields=fields, timeout=timeout)

def CommandCameraCalibrationOrchestrator(
self,
orchestratorId: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""

Args:
orchestratorId (str):
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
CommandCameraCalibrationOrchestratorQueries:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('orchestratorId', 'String!', orchestratorId),
]
return self._CallSimpleGraphAPI('query', operationName='CommandCameraCalibrationOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandCameraCalibrationOrchestratorQueries', fields=fields, timeout=timeout)

def CommandPackingOrchestrator(
self,
orchestratorId: str,
Expand Down Expand Up @@ -98,6 +119,23 @@ def CommandRobotBridgesV2(
]
return self._CallSimpleGraphAPI('query', operationName='CommandRobotBridgesV2', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandRobotBridgesV2Queries', fields=fields, timeout=timeout)

def CommandSensorBridgesEx(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""

Args:
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
CommandSensorBridgesExQueries:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = []
return self._CallSimpleGraphAPI('query', operationName='CommandSensorBridgesEx', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandSensorBridgesExQueries', fields=fields, timeout=timeout)

def ConfigureRobotBridgesEx(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
Expand Down Expand Up @@ -1164,7 +1202,7 @@ def GetLogEntry(

Returns:
LogEntry: An entry in the logs. The current parent-children level relationship among log entry types:

```
LogEntry
├─ GenericLogEntry
Expand Down Expand Up @@ -1205,11 +1243,23 @@ def GetLogEntry(
│ ├─ PackFormationOrderCycleLogEntry
│ │ ├─ PackFormationOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ PalletWrapperOrderCycleOrderCycleLogEntry
│ │ ├─ PalletWrapperOrderCycleOrderCycleFinishedLogEntry
│ ├─ PalletWrapperOrderCycleLogEntry
│ │ ├─ PalletWrapperOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ PalletStackerOrderCycleLogEntry
│ │ ├─ PalletStackerOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ PalletSandwicherOrderCycleLogEntry
│ │ ├─ PalletSandwicherOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ LabelerOrderCycleLogEntry
│ │ ├─ LabelerOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ TrashingOrderCycleLogEntry
│ │ ├─ TrashingOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ LabelerOrderCycleOrderCycleLogEntry
│ │ ├─ LabelerOrderCycleOrderCycleFinishedLogEntry
│ ├─ ManualInspectionOrderCycleLogEntry
│ │ ├─ ManualInspectionOrderCycleFinishedLogEntry
│ │ └─ ProductionOperationLogEntry
│ ├─ VisionInspectionOrderCycleLogEntry
│ │ ├─ VisionInspectionOrderCycleFinishedLogEntry
Expand Down Expand Up @@ -1781,6 +1831,33 @@ def GetRobotMotionParameters(
]
return self._CallSimpleGraphAPI('query', operationName='GetRobotMotionParameters', parameterNameTypeValues=parameterNameTypeValues, returnType='RobotMotionParameters', fields=fields, timeout=timeout)

def GetScheduleEvent(
self,
scheduleEventId: str,
instancesEndedAt: Optional[Any] = None,
instancesStartedAt: Optional[Any] = None,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""Get a schedule event.

Args:
scheduleEventId (str): ID of the schedule event.
instancesEndedAt (DateTime, optional): The time until which schedule instances are requested.
instancesStartedAt (DateTime, optional): The time from which schedule instances are requested.
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ScheduleEvent:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('scheduleEventId', 'String!', scheduleEventId),
('instancesEndedAt', 'DateTime', instancesEndedAt),
('instancesStartedAt', 'DateTime', instancesStartedAt),
]
return self._CallSimpleGraphAPI('query', operationName='GetScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='ScheduleEvent', fields=fields, timeout=timeout)

def GetSensorBridgeModuleBySensorBridgeType(
self,
sensorBridgeType: str,
Expand Down Expand Up @@ -3299,6 +3376,28 @@ def ListLogEntriesV2(
]
return self._CallSimpleGraphAPI('query', operationName='ListLogEntriesV2', parameterNameTypeValues=parameterNameTypeValues, returnType='ListLogEntriesV2ReturnValue', fields=fields, timeout=timeout)

@UseLazyGraphQuery
def ListLogEntryTypeInfos(
self,
options: Optional[Any] = None,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""Get all available log types information.

Args:
options (ListOptionsWithAggregationsInput, optional):
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ListLogEntryTypeInfosReturnValue:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('options', 'ListOptionsWithAggregationsInput', options),
]
return self._CallSimpleGraphAPI('query', operationName='ListLogEntryTypeInfos', parameterNameTypeValues=parameterNameTypeValues, returnType='ListLogEntryTypeInfosReturnValue', fields=fields, timeout=timeout)

@UseLazyGraphQuery
def ListModules(
self,
Expand Down Expand Up @@ -3730,6 +3829,34 @@ def ListRoles(
]
return self._CallSimpleGraphAPI('query', operationName='ListRoles', parameterNameTypeValues=parameterNameTypeValues, returnType='ListRolesReturnValue', fields=fields, timeout=timeout)

@UseLazyGraphQuery
def ListScheduleEventsWithInstances(
self,
instancesEndedAt: Optional[Any] = None,
instancesStartedAt: Optional[Any] = None,
options: Optional[Any] = None,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""List schedule events with matching instances.

Args:
instancesEndedAt (DateTime, optional): The time until which schedule instances are requested.
instancesStartedAt (DateTime, optional): The time from which schedule instances are requested.
options (ListOptionsWithAggregationsInput, optional):
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ListScheduleEventsWithInstancesReturnValue:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('instancesEndedAt', 'DateTime', instancesEndedAt),
('instancesStartedAt', 'DateTime', instancesStartedAt),
('options', 'ListOptionsWithAggregationsInput', options),
]
return self._CallSimpleGraphAPI('query', operationName='ListScheduleEventsWithInstances', parameterNameTypeValues=parameterNameTypeValues, returnType='ListScheduleEventsWithInstancesReturnValue', fields=fields, timeout=timeout)

@UseLazyGraphQuery
def ListSensorBridgeModules(
self,
Expand Down Expand Up @@ -4298,7 +4425,7 @@ def CommandBaseSystemOrchestrator(
]
return self._CallSimpleGraphAPI('mutation', operationName='CommandBaseSystemOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandBaseSystemOrchestratorMutations', fields=fields, timeout=timeout)

def CommandCalibrationOrchestrator(
def CommandCameraCalibrationOrchestrator(
self,
orchestratorId: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
Expand All @@ -4312,12 +4439,12 @@ def CommandCalibrationOrchestrator(
timeout (float, optional): Number of seconds to wait for response.

Returns:
CommandCalibrationOrchestratorMutations:
CommandCameraCalibrationOrchestratorMutations:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('orchestratorId', 'String!', orchestratorId),
]
return self._CallSimpleGraphAPI('mutation', operationName='CommandCalibrationOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandCalibrationOrchestratorMutations', fields=fields, timeout=timeout)
return self._CallSimpleGraphAPI('mutation', operationName='CommandCameraCalibrationOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandCameraCalibrationOrchestratorMutations', fields=fields, timeout=timeout)

def CommandFleetOrchestrator(
self,
Expand Down Expand Up @@ -6326,6 +6453,27 @@ def CreateRole(
]
return self._CallSimpleGraphAPI('mutation', operationName='CreateRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Role', fields=fields, timeout=timeout)

def CreateScheduleEvent(
self,
scheduleEvent: Any,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""Create a new schedule event.

Args:
scheduleEvent (ScheduleEventInput): A list of schedule events.
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ScheduleEvent:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('scheduleEvent', 'ScheduleEventInput!', scheduleEvent),
]
return self._CallSimpleGraphAPI('mutation', operationName='CreateScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='ScheduleEvent', fields=fields, timeout=timeout)

def CreateTool(
self,
bodyId: str,
Expand Down Expand Up @@ -7265,6 +7413,27 @@ def DeleteRole(
]
return self._CallSimpleGraphAPI('mutation', operationName='DeleteRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def DeleteScheduleEvent(
self,
scheduleEventId: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> None:
"""Delete an existing schedule event.

Args:
scheduleEventId (str): ID of the schedule event.
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
Void:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('scheduleEventId', 'String!', scheduleEventId),
]
return self._CallSimpleGraphAPI('mutation', operationName='DeleteScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def DeleteTool(
self,
bodyId: str,
Expand Down Expand Up @@ -8799,6 +8968,30 @@ def ModifyRole(
]
return self._CallSimpleGraphAPI('mutation', operationName='ModifyRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Role', fields=fields, timeout=timeout)

def ModifyScheduleEvent(
self,
scheduleEvent: Any,
scheduleEventId: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""Modify an existing schedule event.

Args:
scheduleEvent (ScheduleEventInput): Properties to be modified on the schedule event.
scheduleEventId (str): ID of the schedule event.
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ScheduleEvent:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('scheduleEvent', 'ScheduleEventInput!', scheduleEvent),
('scheduleEventId', 'String!', scheduleEventId),
]
return self._CallSimpleGraphAPI('mutation', operationName='ModifyScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='ScheduleEvent', fields=fields, timeout=timeout)

def ModifyTool(
self,
bodyId: str,
Expand Down Expand Up @@ -9630,7 +9823,7 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response:
]
return self._CallSubscribeGraphAPI(operationName='SubscribeBaseSystemOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='BaseSystemOrchestratorState', callbackFunction=callbackFunction, fields=fields)

def SubscribeCalibrationOrchestratorState(
def SubscribeCameraCalibrationOrchestratorState(
self,
callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None],
orchestratorId: str,
Expand All @@ -9656,7 +9849,7 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response:
('orchestratorId', 'String!', orchestratorId),
('interval', 'String', interval),
]
return self._CallSubscribeGraphAPI(operationName='SubscribeCalibrationOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='CalibrationOrchestratorState', callbackFunction=callbackFunction, fields=fields)
return self._CallSubscribeGraphAPI(operationName='SubscribeCameraCalibrationOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='CalibrationOrchestratorState', callbackFunction=callbackFunction, fields=fields)

def SubscribeConfigurationChange(
self,
Expand Down