You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, `process` uploads only the declarative fragment built from your custom dataset definitions. For child workspaces that already inherit an LDM, you typically need to **merge** custom datasets and date instances into the current model instead of replacing it.
138
+
139
+
Set `merge_into_existing_ldm=True` to load the workspace LDM first, replace any dataset or date instance with the same `id` as in your input, and append the rest. Optional cleanup: when `remove_managed_datasets_missing_from_input=True` and `management_tag` is set, datasets that contain that tag but are **not** present in the current `process` call are removed first (useful for tooling-owned extensions such as BCA).
140
+
141
+
```python
142
+
ldm_extension_manager.process(
143
+
custom_datasets=custom_dataset_definitions,
144
+
custom_fields=custom_field_definitions,
145
+
check_relations=False,
146
+
merge_into_existing_ldm=True,
147
+
remove_managed_datasets_missing_from_input=True,
148
+
management_tag="bca_tooling_managed",
149
+
)
150
+
```
151
+
131
152
## Example
132
153
133
154
Here is a complete example of extending a child workspace's LDM:
0 commit comments