Less boilerplate for optional dependencies#280
Less boilerplate for optional dependencies#280ocefpaf wants to merge 1 commit intopython-visualization:masterfrom
Conversation
|
@BibMartin this is not aimed to close #241 per se. But let me know if you are OK with this as a strategy deal with optional dependencies. |
|
@ocefpaf |
That is better. Still, even as isolated plugins, I'd rather we import inside the function and let the We can close this, leave as-is, and open another issue to isolated things. Or we can merge this, ship |
|
I'm with @BibMartin for long-term strategy on this. |
|
I closed this. We'll follow with @BibMartin's strategy. |
This PR reduces the amount of code when adding an optional dependency. I do not think we have anything like this outside
folium/utilities.py.I think we should follow this simpler pattern in the future.