Skip to content

Commit

Permalink
Remove getattr
Browse files Browse the repository at this point in the history
  • Loading branch information
nkanazawa1989 committed Feb 17, 2023
1 parent f932bfb commit 2367db6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions qiskit/pulse/instruction_schedule_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,3 @@ def _get_instruction_string(inst: Union[str, Instruction]):
raise PulseError(
'Input "inst" has no attribute "name". This should be a circuit "Instruction".'
) from ex


def __getattr__(name):
from qiskit.pulse import calibration_entries

return getattr(calibration_entries, name)

0 comments on commit 2367db6

Please sign in to comment.