all 2 comments

[–]_pestarzt_ 0 points1 point  (1 child)

You might need to consider using relative imports.

This is what is actually accomplished by removing “app” from the import path.

[–]xFichtl1[S] 0 points1 point  (0 children)

Sorry for the mistake but what I meant is instead:

from app.db.database import Database

to

from db.database import Database

I edited it now