Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Fix to prevent infinite recursion in __getattr__ #646

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qiskit_ibm_provider/ibm_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def __getattr__(self, name: str) -> Any:
does not yet exist on IBMBackend class.
"""
# Prevent recursion since these properties are accessed within __getattr__
if name in ["_properties", "_defaults", "_target"]:
if name in ["_properties", "_defaults", "_target", "_configuration"]:
raise AttributeError(
"'{}' object has no attribute '{}'".format(
self.__class__.__name__, name
Expand Down