@classmethod
    def get_token_credentials(cls, username, request):
        try:
            user = cls.get_item(username=username)
        except Exception as ex:
            log.error(str(ex))
            forget(request)
        else:
            if user:
                return user.api_key.token
Ensure we are using the absolute/expanded path to `file_path`, and
dataset/ETHPy150Open ramses-tech/nefertari/nefertari/authentication/models.py/AuthModelMethodsMixin.get_token_credentials--crossover with--dataset/ETHPy150Open datafolklabs/cement/cement/core/config.py/CementConfigHandler.parse_file