Package musicbrainz2 :: Module webservice :: Class ArtistIncludes
[frames | no frames]

Type ArtistIncludes

object --+    
         |    
 IIncludes --+
             |
            ArtistIncludes


A specification on how much data to return with an artist.

Example:
>>> from musicbrainz2.model import Release
>>> from musicbrainz2.webservice import ArtistIncludes
>>> inc = ArtistIncludes(artistRelations=True, releaseRelations=True,
...             releases=(Release.TYPE_ALBUM, Release.TYPE_OFFICIAL))
>>>
The MusicBrainz server only supports some combinations of release types for the releases and vaReleases include tags. At the moment, not more than two release types should be selected, while one of them has to be Release.TYPE_OFFICIAL, Release.TYPE_PROMOTION or Release.TYPE_BOOTLEG.

Note: Only one of releases and vaReleases may be given.

Method Summary
  __init__(self, aliases, releases, vaReleases, artistRelations, releaseRelations, trackRelations, urlRelations)
  createIncludeTags(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Generated by Epydoc 2.1 on Wed Dec 20 18:19:28 2006 http://epydoc.sf.net