Skip to content

feat(backend-native): Allow importing modules from python files within cube.py #9490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

KSDaemon
Copy link
Member

@KSDaemon KSDaemon commented Apr 18, 2025

This fix allows to import python modules from files relative to cube.py. See more info and issue description in #8443.

Closes #8443

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Copy link

codecov bot commented Apr 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.52%. Comparing base (e0179c5) to head (dece67e).

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #9490       +/-   ##
===========================================
+ Coverage   59.02%   80.52%   +21.50%     
===========================================
  Files         153      382      +229     
  Lines       13067    96636    +83569     
  Branches     2223     2223               
===========================================
+ Hits         7713    77820    +70107     
- Misses       5039    18501    +13462     
  Partials      315      315               
Flag Coverage Δ
cube-backend 59.02% <ø> (ø)
cubesql 83.89% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@KSDaemon KSDaemon marked this pull request as ready for review April 18, 2025 14:44
@KSDaemon KSDaemon requested a review from a team as a code owner April 18, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to import Python files from cube.py
2 participants