Skip to content

Commit

Permalink
deprecate_func(..., since=...) should be a string, not a float (Qis…
Browse files Browse the repository at this point in the history
…kit#2006)

* deprecate_func "since" parameter should be a str, not a float

* black
  • Loading branch information
1ucian0 authored Nov 27, 2023
1 parent ce27d70 commit 2587fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_aer/primitives/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __init__(

@property
@deprecate_func(
since=0.13,
since="0.13",
package_name="qiskit-aer",
is_property=True,
)
Expand All @@ -136,7 +136,7 @@ def approximation(self):

@approximation.setter
@deprecate_func(
since=0.13,
since="0.13",
package_name="qiskit-aer",
is_property=True,
)
Expand Down

0 comments on commit 2587fad

Please sign in to comment.