Obama warns lawmakers over partisan politics