graphein icon indicating copy to clipboard operation
graphein copied to clipboard

Add extras flag for optional imports

Open a-r-j opened this issue 2 years ago • 0 comments
trafficstars

Some modules reference optional dependencies. These messages are communicated to users via this function:

https://github.com/a-r-j/graphein/blob/840ec27dc82684cce5cab9e3604062ce852ae4aa/graphein/utils/utils.py#L326

We should add an extras arg to this function indicating whether or not the dependency would be installed with:

pip install graphein[extras]

a-r-j avatar Dec 18 '22 22:12 a-r-j