The legislation , which would keep the federal government operating through March 6 , represents a gamble by Democrats that they can get a better deal on domestic spending and other initiatives from the next occupant of the White House .