UserTable is:
id (INT)
name (STR)
last_login (DATETIME)
Serving a web page request i have a user
Assuming you have a mapper UserTable in place:
DBSession.query(UserTable).filter_by(id = user_id).\ update({"last_login":datetime.datetime.now()}, synchronize_session=False)
Additional parameters in the docs.