BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

cleaning database rewrite #327

Closed ayya-vimala closed 3 weeks ago

ayya-vimala commented 3 weeks ago

I deleted all functions that are not being used in the dataloader so please check carefully.

I'm not sure if this is actually being used or if it can be removed in several files (together with os/sys dependencies):

# allow importing from api directory
PACKAGE_PARENT = ".."
SCRIPT_DIR = os.path.dirname(
    os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__)))
)
sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)))
sebastian-nehrdich commented 3 weeks ago

This is very good, I think all thats needed is to merge the current dataloader-rewrite branch into this branch and then the merge conflicts should disappear.

ayya-vimala commented 3 weeks ago

Done the merge ... up to you if you want to merge it @sebastian-nehrdich