File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ def start_transaction(
389389def set_measurement (name , value , unit = "" ):
390390 # type: (str, float, MeasurementUnit) -> None
391391 """
392- .. deprecated:: 2.21 .0
392+ .. deprecated:: 2.28 .0
393393 This function is deprecated and will be removed in the next major release.
394394 """
395395 transaction = get_current_scope ().transaction
Original file line number Diff line number Diff line change @@ -613,6 +613,11 @@ def set_status(self, value):
613613
614614 def set_measurement (self , name , value , unit = "" ):
615615 # type: (str, float, MeasurementUnit) -> None
616+ """
617+ .. deprecated:: 2.28.0
618+ This function is deprecated and will be removed in the next major release.
619+ """
620+
616621 warnings .warn (
617622 "`set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead." ,
618623 DeprecationWarning ,
@@ -1066,6 +1071,11 @@ def finish(
10661071
10671072 def set_measurement (self , name , value , unit = "" ):
10681073 # type: (str, float, MeasurementUnit) -> None
1074+ """
1075+ .. deprecated:: 2.28.0
1076+ This function is deprecated and will be removed in the next major release.
1077+ """
1078+
10691079 warnings .warn (
10701080 "`set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead." ,
10711081 DeprecationWarning ,
You can’t perform that action at this time.
0 commit comments