Is Surgery a Contraindication to Getting Vaccinated?

The latest guidelines state that current, recent, or upcoming anesthesia/surgery/hospitalization is not a contraindication to vaccination.