(self, file_path='')
Initialize the class.
Initialize the class.
Initialize the class .
def __init__(self, file_path=''):
        """Initialize the class."""
        self._user = getpass.getuser()
        if file_path:
            self._filepath = file_path
        else:
            home_path = os.path.expanduser('~')
            self._filepath = os.path.join(
                home_path, self.DEFAULT_CREDENTIAL_FILENAME)
def __init__ ( self , file_path = '' ) : self . _user = getpass . getuser ( ) if file_path : self . _filepath = file_path else : home_path = os . path . expanduser ( '~' ) self . _filepath = os . path . join ( home_path , self . DEFAULT_CREDENTIAL_FILENAME )