Skip to content

Commit

Permalink
Update qiskit/providers/models/pulsedefaults.py
Browse files Browse the repository at this point in the history
Co-authored-by: Elena Peña Tapia <[email protected]>
  • Loading branch information
1ucian0 and ElePT authored Jul 23, 2024
1 parent 7a2b3f7 commit 5f19ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/providers/models/pulsedefaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def from_dict(cls, data):
for key, value in data.items():
if key in schema:
with warnings.catch_warnings():
# The class PulseLibraryItem` is deprecated
# The class PulseLibraryItem is deprecated
warnings.filterwarnings("ignore", category=DeprecationWarning, module="qiskit")
if isinstance(value, list):
in_data[key] = list(map(schema[key].from_dict, value))
Expand Down

0 comments on commit 5f19ae9

Please sign in to comment.