Cannot import name 'get_variable_name' from 'pymc3.util'

I am using colab with “pymc version 3.11.4”
I tried to do:
from pymc3.util import get_variable_name
but got this:
cannot import name ‘get_variable_name’ from ‘pymc3.util’

Any idea how to make it work?

Best Regards,


Is it for getting the name of a pymc variable? Maybe it is get_var_name in version 3.11.4