import inspect


def _get_live_classes(module, full_module_name):
    """
    Return list of classes that are defined in the python module

    :param: an imported Python module
    :param: fully qualified name of Python module (ie. my_package.my_module)
    """
    return [getattr(module, m[0])
            for m in inspect.getmembers(module, inspect.isclass)
            if m[1].__module__ == full_module_name
            ]