def METHOD_NAME(*, db_session, plugin_type: str) -> List[Optional[Plugin]]:
    """Fetches all plugins for a given type."""
    return db_session.query(Plugin).filter(Plugin.type == plugin_type).all()