def METHOD_NAME(self, show_missing: bool = True) -> List[RawStudy]:
    query = db.session.query(RawStudy)
    if not show_missing:
        query = query.filter(RawStudy.missing.is_(None))
    metadatas: List[RawStudy] = query.all()
    return metadatas