From cf2988ac8b50fb3121fc1b4bb3c90691f1050dcf Mon Sep 17 00:00:00 2001 From: Michael Orlov Date: Sat, 17 Aug 2024 11:44:38 -0700 Subject: [PATCH] Regenerate Python stub files (.pyi) Signed-off-by: Michael Orlov --- rosbag2_py/rosbag2_py/_transport.pyi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rosbag2_py/rosbag2_py/_transport.pyi b/rosbag2_py/rosbag2_py/_transport.pyi index fdd8f0780..6189f3ce2 100644 --- a/rosbag2_py/rosbag2_py/_transport.pyi +++ b/rosbag2_py/rosbag2_py/_transport.pyi @@ -36,10 +36,16 @@ class Player: def __init__(self) -> None: ... @overload def __init__(self, arg0: str) -> None: ... + @overload def burst(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions, num_messages: int) -> None: ... + @overload + def burst(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions, num_messages: int, enable_signal_handling: bool) -> None: ... @staticmethod def cancel() -> None: ... + @overload def play(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions) -> None: ... + @overload + def play(self, storage_options: rosbag2_py._storage.StorageOptions, play_options: PlayOptions, enable_signal_handling: bool) -> None: ... class RecordOptions: all_services: bool @@ -77,7 +83,10 @@ class Recorder: def __init__(self, arg0: str) -> None: ... @staticmethod def cancel() -> None: ... + @overload def record(self, storage_options: rosbag2_py._storage.StorageOptions, record_options: RecordOptions, node_name: str = ...) -> None: ... + @overload + def record(self, storage_options: rosbag2_py._storage.StorageOptions, record_options: RecordOptions, node_name: str, enable_signal_handling: bool) -> None: ... class ServiceRequestsSource: __members__: ClassVar[dict] = ... # read-only