Use import_non_local to import flask