omry / omegaconf

Flexible Python configuration system. The last one you will ever need.
BSD 3-Clause "New" or "Revised" License
1.99k stars 115 forks source link

ImportError: cannot import name 'get_ref_type' from 'omegaconf._utils' #1148

Open fakerybakery opened 10 months ago

fakerybakery commented 10 months ago

Hi, I'm using an upstream project and getting "ImportError: cannot import name 'get_ref_type' from 'omegaconf._utils'" - might it be possible to add back get_ref_type to the _utils file? Thank you!

odelalleau commented 10 months ago

The _ in _utils indicates this is private API that is subject to change without notice => third party libraries are not supposed to rely it.

This probably means that this code was written for a specific version of OmegaConf and you should use that version instead.