(value)
| 2 | |
| 3 | |
| 4 | def __getattr__(value): |
| 5 | try: |
| 6 | import dask_ml |
| 7 | except ImportError as e: |
| 8 | msg = ( |
| 9 | "Dask-ML is not installed.\n\n" |
| 10 | "Please either conda or pip install dask-ml:\n\n" |
| 11 | " conda install dask-ml # either conda install\n" |
| 12 | " python -m pip install dask-ml --upgrade # or pip install" |
| 13 | ) |
| 14 | raise type(e)(msg) from e |
| 15 | return getattr(dask_ml, value) |
nothing calls this directly
no outgoing calls
no test coverage detected