Skip to content

Commit 3575c2c

Browse files
author
Max Wang
committed
remove not used attribute
1 parent 8b360a5 commit 3575c2c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

examples/quickstart.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ def _del_one(rid: str) -> tuple[str, bool, str | None]:
554554
exists_after_create = None
555555
exists_after_delete = None
556556
attr_type_before = None
557-
attr_type_before_norm = None
558557
if metadata_id and attribute_schema:
559558
_ready_message = "Column metadata not yet available"
560559
def _metadata_after_create():
@@ -578,7 +577,6 @@ def _metadata_after_create():
578577
if isinstance(raw_type, str):
579578
attr_type_before = raw_type
580579
lowered = raw_type.lower()
581-
attr_type_before_norm = lowered.rsplit(".", 1)[-1] if "." in lowered else lowered
582580
log_call(f"client.delete_column('{entity_schema}', '{scratch_column}')")
583581
column_delete = client.delete_columns(entity_schema, scratch_column)
584582
if not isinstance(column_delete, list) or not column_delete:

0 commit comments

Comments
 (0)