<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_networks_by_name(self, name: str) -> List[Network]: """Get all networks with the given name. Useful for getting all versions of a given network."""

        return self.session.query(Network).filter(Network.name.like(name)).all()