def METHOD_NAME(self, id: str) -> Optional[Study]:
    """Get the study by ID or return `None` if not found in database."""
    metadata: Study = db.session.query(Study).METHOD_NAME(id)
    return metadata