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
As found for this issue #2527 makes me wonder if we should move away from import in inner functions.
As said there, used with threads can lead to deadlocks:
If we do the inner imports to avoid cyclic dependencies -> We should refactor the code to avoid them
If we do to minimize the import of external dependencies except for specific features (like scipy for sparse) -> Have a global variable to know if dependency exists.
The text was updated successfully, but these errors were encountered:
As found for this issue #2527 makes me wonder if we should move away from import in inner functions.
As said there, used with threads can lead to deadlocks:
If we do the inner imports to avoid cyclic dependencies -> We should refactor the code to avoid them
If we do to minimize the import of external dependencies except for specific features (like scipy for sparse) -> Have a global variable to know if dependency exists.
The text was updated successfully, but these errors were encountered: