Pregnant in an Apprenticeship UK


Yesterday I found out I got the position on an apprenticeship that I applied for and also found out I was pregnant. I haven’t yet told them and plan to bring it up at my initial assessment. Would they still allow me to take the position?