I have a class
class Foo(): def some_method(): pass
And another class in the same module:
clas
globals()[class_name]
Note that if this isn't strictly necessary, you may want to refactor your code to not use it.