Skip to content

Commit 9e2aa6a

Browse files
author
Andy Gaither
committed
move top level geom to end of search args
1 parent 0406284 commit 9e2aa6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

planet/clients/data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ def _item_url(self, item_type, item_id):
113113

114114
async def search(self,
115115
item_types: List[str],
116-
geometry: Optional[dict] = None,
117116
search_filter: Optional[dict] = None,
118117
name: Optional[str] = None,
119118
sort: Optional[str] = None,
120-
limit: int = 100) -> AsyncIterator[dict]:
119+
limit: int = 100,
120+
geometry: Optional[dict] = None) -> AsyncIterator[dict]:
121121
"""Iterate over results from a quick search.
122122
123123
Quick searches are saved for a short period of time (~month). The
@@ -136,10 +136,10 @@ async def search(self,
136136
sort: Field and direction to order results by. Valid options are
137137
given in SEARCH_SORT.
138138
name: The name of the saved search.
139-
geometry: GeoJSON, a feature reference or a list of feature
140-
references
141139
limit: Maximum number of results to return. When set to 0, no
142140
maximum is applied.
141+
geometry: GeoJSON, a feature reference or a list of feature
142+
references
143143
144144
Yields:
145145
Description of an item.

0 commit comments

Comments
 (0)