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.26 (2025-12-11)

### Changes

- Re-generate graph api.

## 0.9.25 (2025-12-05)

### Changes
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.25'
__version__ = '0.9.26'

# Do not forget to update CHANGELOG.md
72 changes: 71 additions & 1 deletion 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.35.29+e5dac01fbda79dacb960549c4aa193d5da9bbba5
# GENERATED AGAINST: mujinwebstack/2.36.5+2d8243f00f38c1ebf0ab0d3a8eedd62886c5fa8f
#

import warnings
Expand Down Expand Up @@ -1290,11 +1290,15 @@ def GetLogEntry(
│ │ └─ CalibrationVisionBoardDotMaskLogEntry
│ ├─ CalibrationVisionResultIntrinsicsLogEntry
│ ├─ CalibrationVisionModelParametersIntrinsicsLogEntry
│ │ └─ CalibrationVisionModelParametersAppliedLogEntry
│ ├─ CalibrationVisionResultRelativeLogEntry
│ ├─ CalibrationVisionResultHandEyeLogEntry
│ ├─ CalibrationVisionModelParametersHandEyeLogEntry
│ │ └─ CalibrationVisionModelParametersAppliedLogEntry
│ ├─ CalibrationVisionModelParametersRelativeLogEntry
│ │ └─ CalibrationVisionModelParametersAppliedLogEntry
│ └─ CalibrationVisionSingleShotModelParametersLogEntry
│ └─ CalibrationVisionModelParametersAppliedLogEntry
├─ AccountUserChangeLogEntry
├─ AccountGroupChangeLogEntry
├─ AccountRoleChangeLogEntry
Expand Down Expand Up @@ -2342,6 +2346,23 @@ def IsAttachedSensorMoveable(
]
return self._CallSimpleGraphAPI('query', operationName='IsAttachedSensorMoveable', parameterNameTypeValues=parameterNameTypeValues, returnType='Boolean', fields=fields, timeout=timeout)

def IsRuntimeContainerModified(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> bool:
"""Check if there are changes in current runtime container.

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

Returns:
bool: The `Boolean` scalar type represents `true` or `false`.
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = []
return self._CallSimpleGraphAPI('query', operationName='IsRuntimeContainerModified', parameterNameTypeValues=parameterNameTypeValues, returnType='Boolean', fields=fields, timeout=timeout)

def IsSensorLinkMoveable(
self,
bodyName: str,
Expand Down Expand Up @@ -4879,6 +4900,30 @@ def CommandWarehouseExecutionOrchestrator(
]
return self._CallSimpleGraphAPI('mutation', operationName='CommandWarehouseExecutionOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandWarehouseExecutionOrchestratorMutations', fields=fields, timeout=timeout)

def CommitRuntimeContainer(
self,
comment: str,
pause: Optional[bool] = None,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> None:
"""Commit current runtime container.

Args:
comment (str): Commit from author
pause (bool, optional): Whether to pause the current runtime container while committing, if not specified, container is not paused.
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]] = [
('comment', 'String!', comment),
('pause', 'Boolean', pause),
]
return self._CallSimpleGraphAPI('mutation', operationName='CommitRuntimeContainer', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def ConfigureRobotBridges(
self,
command: str,
Expand Down Expand Up @@ -9851,6 +9896,31 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response:
]
return self._CallSubscribeGraphAPI(operationName='SubscribeCameraCalibrationOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='CalibrationOrchestratorState', callbackFunction=callbackFunction, fields=fields)

def SubscribeCloudAgentState(
self,
callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None],
interval: str = '5s',
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
) -> Subscription:
"""

Args:
callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]):
A function with signature that will be called when the subscription is triggered:
def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None
- error: Contains an error message (or `None` if no error occurred).
- response: Contains the returned payload (or `None` if an error occurred).
interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms"
fields (list or dict, optional): Specifies a subset of fields to return.

Returns:
CloudAgentState:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('interval', 'String', interval),
]
return self._CallSubscribeGraphAPI(operationName='SubscribeCloudAgentState', parameterNameTypeValues=parameterNameTypeValues, returnType='CloudAgentState', callbackFunction=callbackFunction, fields=fields)

def SubscribeConfigurationChange(
self,
callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None],
Expand Down