Skip to content

Commit e1d536e

Browse files
author
kuan-yu.chen
committed
Fixed a minor type annotation.
1 parent 0d6ccf2 commit e1d536e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/mujinwebstackclient/controllerwebclientraw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ async def _StopAllSubscriptions(self, error: Optional[ControllerGraphClientExcep
499499
subscription.GetSubscriptionCallbackFunction()(error=error, response=None)
500500
self._subscriptions.clear()
501501

502-
def SubscribeGraphAPI(self, query: str, callbackFunction: Callable[[Optional[str], Optional[dict]], None], variables: Optional[dict] = None) -> Subscription:
502+
def SubscribeGraphAPI(self, query: str, callbackFunction: Callable[[Optional[ControllerGraphClientException], Optional[dict]], None], variables: Optional[dict] = None) -> Subscription:
503503
""" Subscribes to changes on Mujin controller.
504504
505505
Args:

0 commit comments

Comments
 (0)