Skip to content

Add delete_project, get_project_delete_conflicts and list_resources - #58

Merged
cph-datamasque merged 3 commits into
epic/DM-4993-projects-uifrom
project-delete
Oct 19, 2026
Merged

cph-datamasque merged 3 commits into
epic/DM-4993-projects-uifrom
project-delete

Conversation

@cph-datamasque

@cph-datamasque cph-datamasque commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator
  • Add delete_project(project, destination), which moves a project's resources to the destination and deletes the project, raising ProjectDeleteConflictError with the reasons when they cannot move.
  • Add get_project_delete_conflicts(project, destination), which returns those reasons without deleting anything.
  • Add list_resources, which lists resources of every type, grouped by type name.
  • ProjectDeleteConflict's type, id, name and path are optional, because which are set depends on the reason.

@cph-datamasque cph-datamasque self-assigned this Oct 16, 2026
@cph-datamasque
cph-datamasque force-pushed the project-delete branch 2 times, most recently from 32629ef to d6abfad Compare October 16, 2026 03:24
Comment thread datamasque/client/resources.py Resolved
Comment thread datamasque/client/projects.py Resolved
@cph-datamasque
cph-datamasque merged commit 01c564e into epic/DM-4993-projects-ui Oct 19, 2026
@cph-datamasque
cph-datamasque deleted the project-delete branch October 19, 2026 22:25
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.

2 participants