Skip to content

Allow copying specs between datasets with same name/id - #942

Merged
bennybp merged 2 commits into
mainfrom
ds_model_copy
May 14, 2025
Merged

Allow copying specs between datasets with same name/id#942
bennybp merged 2 commits into
mainfrom
ds_model_copy

Conversation

@bennybp

@bennybp bennybp commented May 7, 2025

Copy link
Copy Markdown
Contributor

Description

Before, when copying specifications from one dataset to another, an error was raised if a spec with the same name existing in the destination dataset. This relaxes that a bit, allowing for the copying to succeed (or at least not error) if the underlying specification_id is the same.

This allows for easier copying of specs & records from multiple datasets with the same specification, which is common.

Status

  • Code base linted
  • Ready to go

@bennybp
bennybp merged commit ee5b850 into main May 14, 2025
@bennybp
bennybp deleted the ds_model_copy branch May 14, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant