My wife had the same operation on 2 June last year. This was less than eight weeks before we were due to leave on a trip to the UK to dive the German WWI wrecks at Scapa Flow. As you could imagine, she was keen to do some dives before we left, especially considering she had bought a new drysuit and had not had a chance to use it (and get used to how different it was to her old one, including weighting). She dived again almost exactly 6 weeks later, and this was when she was given the clearance by doctor. For the next few weeks I made sure that she did not lift any tanks etc and when she did dive off the boat, she put her gear on at the edge of the ladder and took it off before exiting the water.
Despite being sore, it all worked well.