Skip to content

Commit 98a76a3

Browse files
authored
Merge pull request #927 from planetlabs/asset-doc-738
Asset doc 738
2 parents 041ff9a + 1e833f7 commit 98a76a3

File tree

1 file changed

+1
-84
lines changed

1 file changed

+1
-84
lines changed

planet/clients/data.py

Lines changed: 1 addition & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -408,89 +408,6 @@ async def get_stats(self,
408408
json=request)
409409
return response.json()
410410

411-
async def list_asset_types(self) -> List[dict]:
412-
"""List all asset types available to the authenticated user.
413-
414-
Returns:
415-
List of asset type details.
416-
417-
Raises:
418-
planet.exceptions.APIError: On API error.
419-
"""
420-
raise NotImplementedError
421-
422-
async def get_asset_type(self, asset_type_id: str) -> dict:
423-
"""Get an asset type by id.
424-
425-
An asset describes a product that can be derived from an item's source
426-
data, and can be used for various analytic, visual or other purposes.
427-
These are referred to as asset_types.
428-
429-
Parameters:
430-
asset_type_id: Asset type identifier.
431-
432-
Returns:
433-
Asset type details.
434-
435-
Raises:
436-
planet.exceptions.APIError: On API error.
437-
"""
438-
raise NotImplementedError
439-
440-
async def list_item_types(self) -> List[dict]:
441-
"""List all item types available to the authenticated user.
442-
443-
Returns:
444-
List of item type details.
445-
446-
Raises:
447-
planet.exceptions.APIError: On API error.
448-
"""
449-
raise NotImplementedError
450-
451-
async def get_item_type(self, item_type_id: str) -> dict:
452-
"""Get an item type by id.
453-
454-
An item_type represents the class of spacecraft and/or processing level
455-
of an item. All items have an associated item_type. Each item_type has
456-
a set of supported asset_types which may be produced for a given item.
457-
458-
Parameters:
459-
item_type_id: Item type identifier.
460-
461-
Returns:
462-
Item type details.
463-
464-
Raises:
465-
planet.exceptions.APIError: On API error.
466-
"""
467-
raise NotImplementedError
468-
469-
async def get_item(
470-
self,
471-
item_type_id: str,
472-
item_id: str,
473-
) -> dict:
474-
"""Get an item by id and item type id.
475-
476-
In the Planet API, an item is an entry in our catalog, and generally
477-
represents a single logical observation (or scene) captured by a
478-
satellite. Each item is defined by an item_type_id, which specifies the
479-
class of spacecraft and/or processing level of the item. Assets (or
480-
products, such as visual or analytic) can be derived from the item's
481-
source data.
482-
483-
Parameters:
484-
item_type_id: Item type identifier.
485-
486-
Returns:
487-
Item details.
488-
489-
Raises:
490-
planet.exceptions.APIError: On API error.
491-
"""
492-
raise NotImplementedError
493-
494411
async def list_item_assets(self, item_type_id: str, item_id: str) -> dict:
495412
"""List all assets available for an item.
496413
@@ -518,7 +435,7 @@ async def get_asset(self,
518435
item_type_id: str,
519436
item_id: str,
520437
asset_type_id: str) -> dict:
521-
"""Get an item asset.
438+
"""Get an item asset description.
522439
523440
Parameters:
524441
item_type_id: Item type identifier.

0 commit comments

Comments
 (0)