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
Use an editor/IDE with Pyright Language server with default configuration:
fromdatasetsimportload_dataset
Expected results
No complain from Pyright
Actual results
Pyright complain below:
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
Importing from datasets.load does indeed solves the problem but I believe importing directly from top level datasets is the intended usage per the documentation.