@base.remotable_classmethod
def get_by_compute_host(cls, context, host, use_slave=False):
    db_service = cls._db_service_get_by_compute_host(context, host, use_slave=use_slave)
    return cls._from_db_object(context, cls(), db_service)
@base.remotable_classmethod
def get_by_compute_host(cls, context, host, use_slave=False):
    db_service = cls._db_service_get_by_compute_host(context, host, use_slave=use_slave)
    return cls._from_db_object(context, cls(), db_service)