Skip to content

Commit

Permalink
change keywords to array
Browse files Browse the repository at this point in the history
  • Loading branch information
ylyangtw committed Aug 21, 2024
1 parent 820de26 commit 097a0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defs/walkstac.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def save_dict_to_file(repo, root, collection, item):
doc["name"] = item.id + " " + item.collection_id
doc["description"] = str(props.get("description"))
doc["datePublished"] = "2022-01-01"
doc["keywords"] = ', '.join(props.get("keywords"))
doc["keywords"] = props.get("keywords", [])

# TODO WARNING
# this is hard coded here, need to pass down from the main, but I would like to make
Expand Down

0 comments on commit 097a0e1

Please sign in to comment.