I want to look at a file and get the names of classes and check if the "Runconfig" name is inherited. So if a file has
class some_function(RunConfig):
I want to return true. My code looks like this right now:
for file in list_of_files:
   if file in ['some_file.py']:
       for name,obj in inspect.getmembers(file):
          if inspect.isclass(obj):
             print("NAME",name,"obj",obj)
This returns objects but I don't see anything that says 'RunConfig' on it. What am I missing here? Thank you so much in advance!
 
    