Connecting with MDGModifier doesn't automatically create unitConversion?

OpenMaya API noob here, does MDGModifier connect method not automatically create a unitConversion node? It seemed suggested from my other readings it does, but I can’t get it to work

Nevermind, had a mistake somewhere else in my code that caused me to think that was the problem