Is it safe to get pregnant after bariatric surgery?

Is it safe to get pregnant after bariatric surgery?