From 4e2c69a434bfc23ee0058ddc909c56da7f9d99bc Mon Sep 17 00:00:00 2001 From: Tiffany Cappellari Date: Mon, 13 May 2024 18:13:54 +0000 Subject: [PATCH] PR comments edits --- spot_wrapper/spot_mission_wrapper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spot_wrapper/spot_mission_wrapper.py b/spot_wrapper/spot_mission_wrapper.py index abf94da8..cd4b967c 100644 --- a/spot_wrapper/spot_mission_wrapper.py +++ b/spot_wrapper/spot_mission_wrapper.py @@ -1,4 +1,5 @@ import logging +from typing import Optional from bosdyn.api.mission import nodes_pb2 from bosdyn.client import RpcError, robot_command @@ -85,7 +86,7 @@ def _load_mission_as_chunks(self, root: nodes_pb2.Node, leases=None, data_chunk_ except ValidationError as e: return False, f"The mission could not be validated: {e}" - def _get_mission_info(self): + def get_mission_info(self): """Get static information about the loaded mission. Raises: