docs: def get_most_recent_network_by_name(self, name: str) -> Optional[Network]:
          """Get the most recently created network with the given name."""
          return self.session.query(Network).filter(Network.name == name).order_by(Network.created.desc()).first()