Let's say for example I have this fuction:
def example(foo:str="bar"):
# code
How do I get the name of the function (for this, "example") that executed the code, something like this:
def example(foor:str="bar"):
print(functions.get()["name"]) # prints "example"
I looked at the inspect modules and the examples but they didn't make sense and didn't seem to do what I wanted.