Get Python class object from class name string in the same module

import sys
getattr(sys.modules[__name__], "Foo")

# or 

globals()['Foo']