From a3707ab2935a3e9f3d763b2a5e8f04bb987221c4 Mon Sep 17 00:00:00 2001 From: Eric Gitonga Date: Sun, 17 Sep 2023 16:00:04 +0300 Subject: [PATCH] remove patrol_type parameter --- ecoscope/io/earthranger.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ecoscope/io/earthranger.py b/ecoscope/io/earthranger.py index fe33f7a9..f8b07685 100644 --- a/ecoscope/io/earthranger.py +++ b/ecoscope/io/earthranger.py @@ -658,15 +658,18 @@ def get_patrol_segments(self): self.get_objects_multithreaded(object=object, threads=self.tcp_limit, page_size=self.sub_page_size) ) - def get_patrol_observations(self, patrols_df, patrol_type=None, include_patrol_details=False, **kwargs): + def get_patrol_observations( + self, + patrols_df, + include_patrol_details=False, + **kwargs + ): """ Download observations for provided `patrols_df`. Parameters ---------- patrols_df : pd.DataFrame Data returned from a call to `get_patrols`. - patrol_type : UUID - Comma-separated list of type of patrol UUID include_patrol_details : bool, optional Whether to merge patrol details into dataframe kwargs