@@ -82,7 +82,7 @@ def search(
8282
8383 try :
8484 while True :
85- yield self ._client .call_sync (results .__anext__ ())
85+ yield self ._client ._call_sync (results .__anext__ ())
8686 except StopAsyncIteration :
8787 pass
8888
@@ -125,7 +125,7 @@ def create_search(
125125 Raises:
126126 planet.exceptions.APIError: On API error.
127127 """
128- return self ._client .call_sync (
128+ return self ._client ._call_sync (
129129 self ._client .create_search (item_types ,
130130 search_filter ,
131131 name ,
@@ -152,7 +152,7 @@ def update_search(self,
152152 Returns:
153153 Description of the saved search.
154154 """
155- return self ._client .call_sync (
155+ return self ._client ._call_sync (
156156 self ._client .update_search (search_id ,
157157 item_types ,
158158 search_filter ,
@@ -184,7 +184,7 @@ def list_searches(self,
184184
185185 try :
186186 while True :
187- yield self ._client .call_sync (results .__anext__ ())
187+ yield self ._client ._call_sync (results .__anext__ ())
188188 except StopAsyncIteration :
189189 pass
190190
@@ -197,7 +197,7 @@ def delete_search(self, search_id: str):
197197 Raises:
198198 planet.exceptions.APIError: On API error.
199199 """
200- return self ._client .call_sync (self ._client .delete_search (search_id ))
200+ return self ._client ._call_sync (self ._client .delete_search (search_id ))
201201
202202 def get_search (self , search_id : str ) -> Dict :
203203 """Get a saved search by id.
@@ -211,7 +211,7 @@ def get_search(self, search_id: str) -> Dict:
211211 Raises:
212212 planet.exceptions.APIError: On API error.
213213 """
214- return self ._client .call_sync (self ._client .get_search (search_id ))
214+ return self ._client ._call_sync (self ._client .get_search (search_id ))
215215
216216 def run_search (self ,
217217 search_id : str ,
@@ -243,7 +243,7 @@ def run_search(self,
243243
244244 try :
245245 while True :
246- yield self ._client .call_sync (results .__anext__ ())
246+ yield self ._client ._call_sync (results .__anext__ ())
247247 except StopAsyncIteration :
248248 pass
249249
@@ -266,7 +266,7 @@ def get_stats(self,
266266 planet.exceptions.APIError: On API error.
267267 planet.exceptions.ClientError: If interval is not valid.
268268 """
269- return self ._client .call_sync (
269+ return self ._client ._call_sync (
270270 self ._client .get_stats (item_types , search_filter , interval ))
271271
272272 def list_item_assets (self , item_type_id : str ,
@@ -288,7 +288,7 @@ def list_item_assets(self, item_type_id: str,
288288 Raises:
289289 planet.exceptions.APIError: On API error.
290290 """
291- return self ._client .call_sync (
291+ return self ._client ._call_sync (
292292 self ._client .list_item_assets (item_type_id , item_id ))
293293
294294 def get_asset (self , item_type_id : str , item_id : str ,
@@ -308,7 +308,7 @@ def get_asset(self, item_type_id: str, item_id: str,
308308 planet.exceptions.ClientError: If asset type identifier is not
309309 valid.
310310 """
311- return self ._client .call_sync (
311+ return self ._client ._call_sync (
312312 self ._client .get_asset (item_type_id , item_id , asset_type_id ))
313313
314314 def activate_asset (self , asset : Dict [str , Any ]):
@@ -322,7 +322,7 @@ def activate_asset(self, asset: Dict[str, Any]):
322322 planet.exceptions.ClientError: If asset description is not
323323 valid.
324324 """
325- return self ._client .call_sync (self ._client .activate_asset (asset ))
325+ return self ._client ._call_sync (self ._client .activate_asset (asset ))
326326
327327 def wait_asset (
328328 self ,
@@ -352,7 +352,7 @@ def wait_asset(
352352 not available or if the maximum number of attempts is reached
353353 before the asset is active.
354354 """
355- return self ._client .call_sync (
355+ return self ._client ._call_sync (
356356 self ._client .wait_asset (asset , delay , max_attempts , callback ))
357357
358358 def download_asset (self ,
@@ -385,7 +385,7 @@ def download_asset(self,
385385 planet.exceptions.ClientError: If asset is not active or asset
386386 description is not valid.
387387 """
388- return self ._client .call_sync (
388+ return self ._client ._call_sync (
389389 self ._client .download_asset (asset ,
390390 filename ,
391391 directory ,
0 commit comments