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 and doichanj committed Jan 16, 2024
1 parent 1399f0e commit e0bcc66
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 e0bcc66

Please sign in to comment.