Skip to content

Commit 6a80707

Browse files
committed
fix to avoid using property in add_entry
1 parent b2faea1 commit 6a80707

File tree

1 file changed

+1
-1
lines changed
  • qiskit_experiments/database_service

1 file changed

+1
-1
lines changed

qiskit_experiments/database_service/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def add_entry(
390390
Raises:
391391
ValueError: When index is not unique in this table.
392392
"""
393-
with self.lock:
393+
with self._lock:
394394
if index in self._container.index:
395395
raise ValueError(f"Table index {index} already exists in the table.")
396396

0 commit comments

Comments
 (0)