Skip to content

Commit 79463c2

Browse files
committed
Fix issues
1 parent 3bec7b0 commit 79463c2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

splunklib/client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
from warnings import deprecated
7171
except ImportError:
7272

73-
def deprecated(): # pyright: ignore[reportUnknownParameterType]
74-
return lambda _v, _msg: None
73+
def deprecated(message): # pyright: ignore[reportUnknownParameterType]
74+
return lambda _msg: None
7575

7676

7777
from . import data
@@ -2014,8 +2014,7 @@ def clear_password(self):
20142014

20152015
@property
20162016
@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.",
2017+
"To improve security, this field now returns an empty string and will be removed from Splunk in a future release.",
20192018
)
20202019
def encrypted_password(self):
20212020
return self.content.get("encr_password")

0 commit comments

Comments
 (0)