Skip to content

Commit

Permalink
Stop using the dd.dataset.description field and replace it with colle…
Browse files Browse the repository at this point in the history
  • Loading branch information
Google Earth Engine Community Authors authored and copybara-github committed Mar 5, 2025
1 parent 0eeacb3 commit c14a23d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stac/stac_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,12 @@ def public_id(self) -> str:
def title(self) -> str:
return self.stac_json['title']

def description(self) -> str:
if 'description' in self.stac_json:
description = self.stac_json['description']
return description
return ''

def dataset_type(self) -> stac_checker.GeeType:
return stac_checker.GeeType(self.stac_json['gee:type'])

Expand Down

0 comments on commit c14a23d

Please sign in to comment.