parameters: (id, includes=[], toc=None, cdstubs=True, media_format=None)
return_statement: return _do_mb_query("discid", id, includes, params)
docstring: Search for releases with a :musicbrainz:`Disc ID` or table of contents.
  
      When a `toc` is provided and no release with the disc ID is found,
      a fuzzy search by the toc is done.
      The `toc` should have to same format as :attr:`discid.Disc.toc_string`.
      When a `toc` is provided, the format of the discid itself is not
      checked server-side, so any value may be passed if searching by only
      `toc` is desired.
  
      If no toc matches in musicbrainz but a :musicbrainz:`CD Stub` does,
      the CD Stub will be returned. Prevent this from happening by
      passing `cdstubs=False`.
  
      By default only results that match a format that allows discids
      (e.g. CD) are included. To include all media formats, pass
      `media_format='all'`.
  
      The result is a dict with either a 'disc' , a 'cdstub' key
      or a 'release-list' (fuzzy match with TOC).
      A 'disc' has an 'offset-count', an 'offset-list' and a 'release-list'.
      A 'cdstub' key has direct 'artist' and 'title' keys.
  
      *Available includes*: {includes}
docstring_summary: Search for releases with a :musicbrainz:`Disc ID` or table of contents.
docstring_tokens: Search for releases with a : musicbrainz : Disc ID or table of contents .
function: def get_releases_by_discid(id, includes=[], toc=None, cdstubs=True, media_format=None):
      """Search for releases with a :musicbrainz:`Disc ID` or table of contents.
  
      When a `toc` is provided and no release with the disc ID is found,
      a fuzzy search by the toc is done.
      The `toc` should have to same format as :attr:`discid.Disc.toc_string`.
      When a `toc` is provided, the format of the discid itself is not
      checked server-side, so any value may be passed if searching by only
      `toc` is desired.
  
      If no toc matches in musicbrainz but a :musicbrainz:`CD Stub` does,
      the CD Stub will be returned. Prevent this from happening by
      passing `cdstubs=False`.
  
      By default only results that match a format that allows discids
      (e.g. CD) are included. To include all media formats, pass
      `media_format='all'`.
  
      The result is a dict with either a 'disc' , a 'cdstub' key
      or a 'release-list' (fuzzy match with TOC).
      A 'disc' has an 'offset-count', an 'offset-list' and a 'release-list'.
      A 'cdstub' key has direct 'artist' and 'title' keys.
  
      *Available includes*: {includes}"""
      params = _check_filter_and_make_params("discid", includes, release_status=[],
                                             release_type=[])
      if toc:
          params["toc"] = toc
      if not cdstubs:
          params["cdstubs"] = "no"
      if media_format:
          params["media-format"] = media_format
      return _do_mb_query("discid", id, includes, params)
function_tokens: def get_releases_by_discid ( id , includes = [ ] , toc = None , cdstubs = True , media_format = None ) : params = _check_filter_and_make_params ( "discid" , includes , release_status = [ ] , release_type = [ ] ) if toc : params [ "toc" ] = toc if not cdstubs : params [ "cdstubs" ] = "no" if media_format : params [ "media-format" ] = media_format return _do_mb_query ( "discid" , id , includes , params )