Skip to content

Import from right module#404

Open
pjonsson wants to merge 1 commit into
Open-EO:mainfrom
pjonsson:fix-more-imports
Open

Import from right module#404
pjonsson wants to merge 1 commit into
Open-EO:mainfrom
pjonsson:fix-more-imports

Conversation

@pjonsson

Copy link
Copy Markdown
Contributor

These symbols are not exported
from where they are imported,
so update the code to import
from the right place.

These symbols are not exported
from where they are imported,
so update the code to import
from the right place.
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.36%. Comparing base (e081e61) to head (7b0c2ea).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
+ Coverage   83.35%   83.36%   +0.01%     
==========================================
  Files          39       39              
  Lines        2601     2603       +2     
==========================================
+ Hits         2168     2170       +2     
  Misses        433      433              

☔ View full report in Codecov by Harness.
📢 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.

import dask
import dask.array as da
import numpy as np
from dask.delayed import delayed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the Pyright author disagrees about exports: microsoft/pyright#2639 (comment)

I haven't read all the relevant standards so I can't comment on this issue, but my experience is that he's usually right on a technical level (and he tends to be balanced, so he's working within the system when some specification is saying crazy things).

From a practical perspective, Pylance is using Pyright under the hood, so every VSCode user will get squiggly lines under these symbols.

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.

2 participants