Skip to content

Commit

Permalink
remove patrol_type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgitonga authored Sep 17, 2023
1 parent 423d896 commit a3707ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ecoscope/io/earthranger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3707ab

Please sign in to comment.