<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_edges_by_hashes(self, edge_hashes: List[str]) -> List[Edge]: """Look up several edges by hashes of their PyBEL edge data dictionaries."""

        return self.session.query(Edge).filter(Edge.sha512.in_(edge_hashes)).all()