President Trump and congressional leaders struck a hopeful tone on Thursday during a meeting in the Oval Office meant to work out any disagreements over a short-term spending bill that will keep the government open past Friday, when funding will run dry without a legislative intervention.

House Speaker Paul Ryan, Senate Majority Leader Mitch McConnell, Senate Minority Leader Chuck Schumer, and House Minority Leader Nancy Pelosi each said they hoped to reach a compromise during their meeting on a bill that would avert a shutdown.

"We're here in the spirit of, 'let's get it done,'" Schumer said. He and Pelosi pulled out of a scheduled meeting with Trump last week after the president tweeted his doubts that both sides would reach a spending deal.

"We're here to reach a bipartisan agreement to finish out the year," McConnell said.

Vice President Mike Pence and Defense Secretary Jim Mattis also attended the meeting. Lawmakers are expected to pass a continuing resolution this week that will buy them more time for negotiations on a larger bill that will fund the government through next year.