@classmethod
def get_by_deployable_id(cls, context, deployable_id):
    """Get an attribute by deployable_id"""
    db_attr = cls.dbapi.attribute_get_by_deployable_id(context, deployable_id)
    return cls._from_db_object_list(db_attr, context)
