Standardize notebook table-relationship documentation cells
This commit is contained in:
@@ -1116,6 +1116,27 @@
|
||||
"else:\n",
|
||||
" print('WRITE_BACK_TO_DB is False; no database table was modified.')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "32",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Tables Created by This Notebook and Their Relationships\n",
|
||||
"\n",
|
||||
"### Tables Created / Maintained\n",
|
||||
"1. `public.master_data_center_spatial_clusters` (optional write)\n",
|
||||
"- One row per `master_id` with cluster label and clustering metadata.\n",
|
||||
"- Written only when `WRITE_BACK_TO_DB = True`.\n",
|
||||
"\n",
|
||||
"### Key Relationships\n",
|
||||
"- `public.master_data_centers (master_id)`\n",
|
||||
" - 1-to-1 (effective) -> `public.master_data_center_spatial_clusters (master_id)`\n",
|
||||
"\n",
|
||||
"### Rerun Notes\n",
|
||||
"- Default behavior (`WRITE_BACK_TO_DB = False`) performs no table writes.\n",
|
||||
"- With write-back enabled, reruns replace cluster assignments using the current parameters/data."
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user