House Minority Leader Nancy Pelosi (D-Calif.) threw shade at House Speaker Paul Ryan (R-Wis.) for his endorsement of presumptive Republican presidential nominee Donald Trump.

MANDEL NGAN via Getty Images House Speaker Paul Ryan chats with House Minority Leader Nancy Pelosi during the National Prayer Breakfast on February 4, 2016, in Washington, D.C.

Pelosi's office sent a memo to reporters Wednesday on Ryan canceling a regularly scheduled press conference.

"Speaker Paul Ryan will not be available to answer your questions today about his surrender to Donald Trump," the memo said. "Speaker Ryan has cancelled his regular Wednesday press conference so you don’t ask him about Donald Trump’s racist commentary against a federal judge, and why, ahead of their national security agenda rollout tomorrow, the House GOP wants to hand the nuclear codes to a person who engages in textbook racism."

On Tuesday, Ryan addressed Trump's comments that U.S. District Judge Gonzalo Curiel, who is presiding over a case against Trump University, is "Mexican" and biased against Trump's plan to build a wall along the U.S.-Mexico border.

“Claiming a person can’t do their job because of their race is sort of like the textbook definition of a racist comment,” Ryan said. “I think that should be absolutely disavowed. It’s absolutely unacceptable.”

But Ryan said he'd still vote for Trump for president.

See the memo from Pelosi's office below:

Dem Leader Press Office

Editor’s note: Donald Trump regularly incites political violence and is a serial liar, rampant xenophobe, racist, misogynist and birther who has repeatedly pledged to ban all Muslims — 1.6 billion members of an entire religion — from entering the U.S.