Home | Trees | Index | Help |
---|
Package musicbrainz2 :: Module webservice :: Class 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 | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Dec 20 18:19:28 2006 | http://epydoc.sf.net |