def metadataBundle(self): r''' The metadata bundle for a corpus: >>> from music21 import corpus >>> corpus.corpora.CoreCorpus().metadataBundle <music21.metadata.bundles.MetadataBundle 'core': {144... entries}> As a technical aside, the metadata bundle for a corpus is actually stored in corpus.manager, in order to cache most effectively over multiple calls. There might be good reasons to eventually move them to each Corpus object, so long as its cached across instances of the class. ''' from music21.corpus import manager return manager.getMetadataBundleByCorpus(self)
def metadataBundle(self): r''' The metadata bundle for a corpus: >>> from music21 import corpus >>> corpus.corpora.CoreCorpus().metadataBundle <music21.metadata.bundles.MetadataBundle 'core': {144... entries}> As a technical aside, the metadata bundle for a corpus is actually stored in corpus.manager, in order to cache most effectively over multiple calls. There might be good reasons to eventually move them to each Corpus object, so long as its cached across instances of the class. ''' from music21.corpus import manager return manager.getMetadataBundleByCorpus(self)