They're calling it for Hillary Clinton. Clinton has the needed delegates to defeat Bernie Sanders and will accept her party's nomination at the Democratic National Convention next month in Philadelphia, according to a report by The Associated Press.

The wire service said it counted the pledged delegates that have been won through caucuses and primaries, and took a survey of those Democratic insiders known as superdelegates to determine that Clinton has the required 2,383 delegates to secure the nomination over Sanders and make her the presumptive nominee. 

This news comes as Clinton and Sanders have both been campaigning hard in California. That state, as well as Montana, New Jersey, New Mexico, North Dakota and South Dakota will vote in primaries on June 7. After that, all that's left is Washington, D.C. on June 14. Clinton won Puerto Rico's primary on Sunday. 

None of that matters, though, according to the report, as Clinton already has the delegates she needs. But she isn't changing her view of Tuesday's primaries. 

We’re flattered, @AP, but we've got primaries to win. CA, MT, NM, ND, NJ, SD, vote tomorrow! https://t.co/8t3GpZqc1U

— Hillary Clinton (@HillaryClinton) June 7, 2016

As recently as Sunday, Sanders was vowing for a contested convention in Philly, saying the media is incorrect to be counting superdelegates before the convention, since they can still change their mind about which candidate they'll support. Sanders' campaign says that Clinton will be dependent on superdelegates to win the nomination. 

UPDATE 10:10 p.m. ET

Bernie Sanders' campaign has released a statement via spokesman Michael Briggs: