Let's say that I have an import statement like this:
from foo import foo_func as myfunc
Is there a practical and clean way to get the alias name for foo_func as a string?
I am aware of the name property of a function but if I were do do this:
print(myfunc.__name__)
I would only get 'foo_func' and not 'myfunc'
Is there something similar to let me get the alias name itself.