Remove objects¶
Plan the removal of processes, datasets and features, in the right order, with what depends on them.
| Where | Govern |
| Who sees it | Data engineer and Admin. |
| Writes to the store | Nothing from the page: it never executes a removal. You run the script. |
| Valid-time banner | Not followed: the page shows the current state, and the banner says so. |
What you do¶
Choose processes, datasets or features; the page plans the removal in the right order, shows the dependents that block it, and gives a dry run and a script. It never executes a removal itself: you run the script.
The whole data domain¶
Plan the removal of this whole domain, with a data domain chosen in the selector, plans everything registered in that domain: its processes, their features, the datasets reading them (a dataset of another project that reads one of these features is in the plan too, so read it), the features left with no process, and the domain's clock setting. Delete the stored values and Drop the views apply as for any plan. The script is the same standalone file: a dry run as is, the removal with --apply, then a check that nothing is left. The clock's view, its table of dates and the soft clones stay. The same steps by hand: Remove a data domain.
Do the same in Python¶
The (?) button in the top bar opens a standalone script for this page. It asks for the password with getpass, never writes to the store, and can be copied or downloaded.
The script plans the removal of the first process and writes the script that would do it, as a dry run (tdfs4ds.plan_removal, tdfs4ds.generate_removal_script). It removes nothing.