# Path: dunyadesktop_app/cultures/dunya/makam.py
# def get_recordings():
# def get_recording(rmbid):
# def get_artists():
# def get_artist(ambid):
# def get_composers():
# def get_composer(cmbid):
# def get_releases():
# def get_release(cmbid):
# def get_works():
# def get_work(wmbid):
# def get_instruments():
# def get_instrument(iid):
# def get_forms():
# def get_form(fid):
# def get_makams():
# def get_makam(mid):
# def get_usuls():
# def get_symbtrs():
# def get_symbtr(uuid):
# def get_usul(uid):
# def get_works_by_query(mid='', uid='', fid='', cmbid='', ambid=''):
# def download_mp3(recordingid, location, slugify=False):
# def download_release(releaseid, location, slugify=False):
# def slugify_tr(value):


from ..dunya import makam
from PyQt5.QtCore import QThread, QObject, pyqtSignal
                self.check_attribute_existence(0)

            elif selection is 1:
                self.data = makam.get_form(self.fid)
                self.check_attribute_existence(1)

            elif selection is 2:
                self.data = makam.get_usul(self.uid)
                self.check_attribute_existence(2)

            elif selection is 3:
                self.data = makam.get_composer(self.cmbid)
                self.check_attribute_existence(3)

            elif selection is 4:
                self.data = makam.get_artist(self.ambid)
                self.check_attribute_existence(4)

            else:
                self.data = makam.get_instrument(self.iid)
                self.check_attribute_existence(5)

            self.works = [work for work in self.data['works']]

        else:
            self.works = makam.get_works_by_query(mid=self.mid, uid=self.uid,
                                                  fid=self.fid,
                                                  cmbid=self.cmbid,
                                                  ambid=self.ambid)
            selected_indexes = [i for i, j in enumerate(check_list) if

# Path: dunyadesktop_app/cultures/dunya/makam.py
# def get_recordings():
# def get_recording(rmbid):
# def get_artists():
# def get_artist(ambid):
# def get_composers():
# def get_composer(cmbid):
# def get_releases():
# def get_release(cmbid):
# def get_works():
# def get_work(wmbid):
# def get_instruments():
# def get_instrument(iid):
# def get_forms():
# def get_form(fid):
# def get_makams():
# def get_makam(mid):
# def get_usuls():
# def get_symbtrs():
# def get_symbtr(uuid):
# def get_usul(uid):
# def get_works_by_query(mid='', uid='', fid='', cmbid='', ambid=''):
# def download_mp3(recordingid, location, slugify=False):
# def download_release(releaseid, location, slugify=False):
# def slugify_tr(value):


# Path: dunyadesktop_app/cultures/makam/query.py
from ..dunya import makam
from PyQt5.QtCore import QThread, QObject, pyqtSignal

                self.check_attribute_existence(0)

            elif selection is 1:
                self.data = makam.get_form(self.fid)
                self.check_attribute_existence(1)

            elif selection is 2:
                self.data = makam.get_usul(self.uid)
                self.check_attribute_existence(2)

            elif selection is 3:
                self.data = makam.get_composer(self.cmbid)
                self.check_attribute_existence(3)

            elif selection is 4:
                self.data = makam.get_artist(self.ambid)
                self.check_attribute_existence(4)

            else:
                self.data = makam.get_instrument(self.iid)
                self.check_attribute_existence(5)

            self.works = [work for work in self.data['works']]

        else:
            self.works = makam.get_works_by_query(mid=self.mid, uid=self.uid,
                                                  fid=self.fid,
                                                  cmbid=self.cmbid,
                                                  ambid=self.ambid)
            selected_indexes = [i for i, j in enumerate(check_list) if

                                j != '']