You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, app.py imports from alerts using a relative import that only works when the file is run from inside src/dashboard/. This will break when the project is run from the root directory. Fix the import so it works regardless of where the app is launched from. The simplest fix is to add the dashboard folder to the Python path at the top of app.py or restructure the import using a package-style import. Test by running python src/dashboard/app.py from the project root and confirming no import errors. Commit with message [DASHBOARD] Fix alerts import path.
The text was updated successfully, but these errors were encountered:
Currently, app.py imports from alerts using a relative import that only works when the file is run from inside src/dashboard/. This will break when the project is run from the root directory. Fix the import so it works regardless of where the app is launched from. The simplest fix is to add the dashboard folder to the Python path at the top of app.py or restructure the import using a package-style import. Test by running python src/dashboard/app.py from the project root and confirming no import errors. Commit with message [DASHBOARD] Fix alerts import path.
The text was updated successfully, but these errors were encountered: