Skip to content

Commit

Permalink
use static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
briantist committed Aug 5, 2022
1 parent 4afc873 commit ab47eaf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/module_utils/_hashi_vault_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def __init__(self):
# TODO move hvac checking here?
pass

def _stringify(self, input):
@staticmethod
def _stringify(input):
return _stringify(input)

def get_vault_client(
Expand Down Expand Up @@ -295,5 +296,6 @@ def warn(self, message):
def deprecate(self, message, version=None, date=None, collection_name=None):
self._deprecator(message, version=version, date=date, collection_name=collection_name)

def _stringify(self, input):
@staticmethod
def _stringify(input):
return _stringify(input)

0 comments on commit ab47eaf

Please sign in to comment.