code: def networks(self, role="all", full="all"):
          
          if full not in ["all", True, False]:
              raise ValueError(
                  "full must be boolean or all, it cannot be {}".format(full)
              )
  
          if full == "all":
              if role == "all":
                  return Network.query.all()
              else:
                  return Network.query.filter_by(role=role).all()
          else:
              if role == "all":
                  return Network.query.filter_by(full=full).all()
              else:
                  return Network.query.filter(
                      and_(Network.role == role, Network.full == full)
                  ).all()
docs: All the networks in the experiment.