def METHOD_NAME(self, grant):
    if not self.exp_in:
        self.exp_in = grant.exp_in
    if not self.grant_expiration_time:
        self.grant_expiration_time = grant.grant_expiration_time
    if not self.seed:
        self.seed = grant.seed
    for token in grant.tokens:
        if token not in self.tokens:
            for otok in self.tokens:
                if token.scope == otok.scope:
                    otok.replaced = True
            self.tokens.append(token)