docstr: Get images from dataset
  limit - maximum number of images to retrieve
docstr_tok: ["Get","images","from","dataset","limit","-","maximum","number","of","images","to","retrieve"]
code: def get_images_from_dataset(self, dataset_id, limit=None):
      """Get images from dataset
      limit - maximum number of images to retrieve
      """
      q = self.omero_session.getQueryService()
      p = omero.sys.Parameters()
      p.map = {}
      p.map["oid"] = rlong(int(dataset_id))
      if limit is not None:
          f = omero.sys.Filter()
          f.limit = rint(int(limit))
          p.theFilter = f
      sql = (
          "select im from Image im "
          "left outer join fetch im.datasetLinks dil left outer join fetch dil.parent d "
          "where d.id = :oid order by im.id asc"
      )
      return q.findAllByQuery(sql, p)
  
imports: import traceback
  import numpy
  import wx
  import cellprofiler_core.image
  import cellprofiler_core.module
  import cellprofiler_core.measurement
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
  from cellprofiler_core.modules import default_cpimage_name
  import omero
  from omero.rtypes import rlong
  from omero.rtypes import rint
  from omero_version import omero_version
label_desc: Use image node_id 11 for calling the OmeroLoadImages obj's underlying member method code with example usage: obj.get_images_from_dataset(dataset_id, limit) and returns: q