def add_encoded(self, request, token):
        if token:
            odm = request.app.odm()
            with odm.begin() as session:
                session.add(token)
                token.encoded = self.encode_token(request,
                                                  token_id=token.id.hex,
                                                  user=token.user,
                                                  expiry=token.expiry)
        return token
Formats a single attribute line.
dataset/ETHPy150Open quantmind/lux/lux/extensions/auth/backends.py/AuthMixin.add_encoded--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/commands/default/building.py/CmdExamine.list_attribute