def setup()

in basic_pitch/data/datasets/maestro.py [0:0]


    def setup(self) -> None:
        import apache_beam as beam
        import mirdata

        # Oddly enough we dont want to include the gcs bucket uri.
        # Just the path within the bucket
        self.maestro_remote = mirdata.initialize("maestro", data_home=self.source)
        self.filesystem = beam.io.filesystems.FileSystems()
        if self.download:
            self.maestro_remote.download()