def inspect(subject, raiseerr=True):
    type_ = type(subject)
    for cls in type_.__mro__:
        if cls in _registrars:
            reg = _registrars[cls]
            if reg is True:
                return subject
            ret = reg(subject)
            if ret is not None:
                break
    else:
        reg = ret = None

    if raiseerr and (
            reg is None or ret is None
            ):
        raise exc.NoInspectionAvailable(
            "No inspection system is "
            "available for object of type %s" %
            type_)
    return ret
Get metrics for a specific instance of a multiRole pool of a
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/inspection.py/inspect--crossover with--dataset/ETHPy150Open Azure/azure-sdk-for-python/azure-mgmt-web/azure/mgmt/web/operations/hosting_environments_operations.py/HostingEnvironmentsOperations.get_multi_role_pool_instance_metrics