Skip to content

Commit bb1e96b

Browse files
committed
always retain existing description
1 parent 33333bc commit bb1e96b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

api/utils/data_indexing.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,7 @@ def index_resource_data(resource: Resource) -> Optional[ResourceDataTable]:
163163
if col in existing_schemas:
164164
existing_description = existing_schemas[col]["description"]
165165
# Check for None and non-auto-generated descriptions
166-
if (
167-
existing_description is not None
168-
and not existing_description.startswith(
169-
"Description of column"
170-
)
171-
):
166+
if existing_description is not None:
172167
description = existing_description
173168
logger.info(
174169
f"Preserved custom description for column {col}"

0 commit comments

Comments
 (0)