fix(app): robust imports for both package and script execution contexts - #17
Conversation
|
Warning Rate limit exceeded@razinkele has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 41 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Make imports in �pp/app.py robust: try absolute �pp.* imports first (when app is installed/imported as package) and fall back to local pages/config imports when running the module directly (e.g., from inside the �pp/ directory). This fixes ModuleNotFoundError when launching with different working directories.