question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

some private imports broken on main

See original GitHub issue

What happened?

Seen over in cf_xarray

Using xr.core.resample.Resample worked prior to https://github.com/pydata/xarray/pull/6702.

Now we need to use from xarray.core.resample import Resample

I don’t know if this is something that needs to be fixed or only worked coincidentally earlier. But I thought it was worth discussing prior to release.

Thanks to @aulemahal for spotting

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Illviljancommented, Jun 30, 2022
1reaction
headtr1ckcommented, Jun 30, 2022

Another example is that asfreq has moved downstream a little and is no longer available on Resample either, can probably break something as well.

It was moved because it actually didn’t work in the baseclass 😉 So I don’t think anyone has ever used that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incorrect hint to import private member · Issue #50923 - GitHub
When a private member is accessed from another module an error is raised as expected, but it is wrongly hinted that you can...
Read more >
Webpack import returns undefined, depending on the order of ...
A gets imported first in main.js , so B ends up being the last link in the "circle", and Webpack (or any CommonJS-like...
Read more >
exported and fixing import visibility - Discussion - Swift Forums
The net effect is that some modules end up getting re-exported when you import a ... private import ModuleC // or fileprivate import...
Read more >
Solved: Import from Github is not working - Atlassian Community
I tried with few private repos but without success. Is this bitbucket issue that import from github is no longer possible? Answer.
Read more >
Project import errors – Support Portal | Snyk
While importing a project into the Snyk console, you may sometimes encounter an error; for example: Some common errors and suggested...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found