def _getConfig(self): self._token = get_cfg_account_detail(self._account_id, "token") self._pincode = get_cfg_account_detail(self._account_id, "pincode") self._state = get_cfg_account_detail(self._account_id, "state") # token_exp = get_cfg_account_detail(self._account_id, "tokenexpiry") if bool(token_exp): self._tokenexpiry = datetime.datetime.strptime(token_exp, self._dateformat) else: self._tokenexpiry = False
def _pincode(self): return get_cfg_account_detail(self._account_id, "pincode")
def _dvc_name(self): return get_cfg_account_detail(self._account_id, "name")