We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bec7b0 commit 79463c2Copy full SHA for 79463c2
1 file changed
splunklib/client.py
@@ -70,8 +70,8 @@
70
from warnings import deprecated
71
except ImportError:
72
73
- def deprecated(): # pyright: ignore[reportUnknownParameterType]
74
- return lambda _v, _msg: None
+ def deprecated(message): # pyright: ignore[reportUnknownParameterType]
+ return lambda _msg: None
75
76
77
from . import data
@@ -2014,8 +2014,7 @@ def clear_password(self):
2014
2015
@property
2016
@deprecated(
2017
- version="2.2.0",
2018
- reason="To improve security, this field now returns an empty string and will be removed from Splunk in a future release.",
+ "To improve security, this field now returns an empty string and will be removed from Splunk in a future release.",
2019
)
2020
def encrypted_password(self):
2021
return self.content.get("encr_password")
0 commit comments