I have a list of functions… e.g.
def filter_bunnies(pets): ...
def filter_turtles(pets): ...
def filter_narwhals(pets): ...
Is there a way to call these functions by using a string representing their name?
e.g.
'filter_bunnies', 'filter_turtles', 'filter_narwhals'
Are your function a part of an object? If so you could use
getattrfunction: