I got pregnant during my legal practice course (essentially like a masters.. it's a postgrad course). I would not recommend actually delivering a baby during the course and then continuing when you've got a baby personally; your whole perspective changes and your priorities change when you have a child and I'm not sure (a) I'd have gone back (even though I was smashing it and enjoyed it at the time) or (b) would've done as well if I did return.
I was lucky in that I fell pregnant with only 6 months left of the course to go. So although I was fairly heavily pregnant, travelling miles to university, waking up early, working very long hours etc, I did manage it and I got a distinction so clearly it didn't hinder my ability to achieve what I wanted to. However it was hard, very very hard, as I was absolutely shattered, and I was working as well. I also found the practicalities quite difficult as I had to travel in from one city to another, with luggage (I had to take so many heavy books and folders I had to take it in a suitcase!) and I was always nervous of doing myself physical damage carrying very heavy bags while 6 months pregnant. Thankfully I didn't, but it was a risk I had to take as I had no other option. I was lucky in that I didn't get morning sickness, but I imagine that would have been pretty horrendous and may have affected my performance more as well.
So much to consider. But I think if you can wait an extra year and a half, finish your course, that would be by far the best course of action. Only reason I didn't is because my boy wasn't planned.