Skip to content

Commit

Permalink
Include resource_type and ingest_date in search record
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Jan 5, 2024
1 parent e3f71eb commit b52b8fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def lambda_handler(event, context):
metadata["mdf"]["source_name"] = source_name
metadata["mdf"]["version"] = version
metadata["mdf"]["domains"] = organization.domains
metadata["mdf"]["resource_type"] = "dataset" # Force the resource type to make this findable in the portal
metadata["mdf"]["ingest_date"] = datetime.utcnow().isoformat("T") + "Z"

# Fetch custom block descriptors, cast values to str, turn _description => _desc
# @BenB edited
Expand Down

0 comments on commit b52b8fc

Please sign in to comment.