No. Teacher. I didn't expect much flexibility because our reporting hours are contractually based, but usually principals are kind toward new parents of either gender. I'd been at schools where principals tried for a master schedule that allowed planning periods when a bfing mom needed to pump for example.
Ironically, my schedule actually became more inflexible after my maternity leave. I transferred to a new school that was closer to home in order to reduce my commute time not knowing that the principal there had a policy of assigning morning duty to those who lived closest to the school. I ended up having morning duty followed by three classes and a team meeting so no break to pump until lunch time. Recurrent mastitis.