docs: def get_network_by_name_version(self, name: str, version: str) -> Optional[Network]:
          """Load the network with the given name and version if it exists."""
          name_version_filter = and_(Network.name == name, Network.version == version)
          network = self.session.query(Network).filter(name_version_filter).one_or_none()
          return network