code: def random_sample_from_discrete_euclidean_domain(
      valid_vectors, num_samples, sample_type="rand"
  ):
      """Samples from a Euclidean Domain."""
      if sample_type == "rand" or True:
          ret = valid_vectors[
              np.random.randint(
                  len(valid_vectors), size=(num_samples,)
              ),
              :,
          ]
      else:
          raise ValueError("Unknown sample_type %s." % (sample_type))
      return list(ret)
  
imports: from __future__ import print_function
  from __future__ import division
  from argparse import Namespace
  from datetime import datetime
  from warnings import warn
  import os
  import numpy
  from .general_utils import map_to_bounds
  from .doo import DOOFunction, pdoo_wrap
label_desc: Use image node_id 14 for calling a global function with example usage: random_sample_from_discrete_euclidean_domain(valid_vectors, num_samples, sample_type) and returns: list