We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bc32a6 commit 3ae5a32Copy full SHA for 3ae5a32
deep_code/utils/ogc_record_generator.py
@@ -55,18 +55,15 @@ def build_record_properties(
55
properties.update({"created": now_iso})
56
properties.update({"updated": now_iso})
57
58
- # Extract themes from the properties dictionary
59
themes_list = properties.get("themes", [])
60
61
- # Build contact objects
62
properties.update({"contacts": self.build_contact_objects(contacts)})
63
64
- # Build theme object if themes are present
65
if themes_list:
66
theme_obj = self.build_theme(themes_list)
67
properties.update(
68
{"themes": [theme_obj]}
69
- ) # Wrap the Theme object in a list
+ )
70
71
properties.setdefault("type", "workflow")
72
properties.setdefault("osc_project", "deep-earth-system-data-lab")
0 commit comments