Currently pyright is throwing this error in VSCode when attempting to import modules from yattag using from yattag import {module_name}. To remove this, __all__ can be used to explicitly define the intended exports.
reportPrivateImportUsage [boolean or string, optional]: Generate or suppress diagnostics for use of a symbol from a "py.typed" module that is not meant to be exported from that module. The default value for this setting is "error".
Currently pyright is throwing this error in VSCode when attempting to import modules from
yattag
usingfrom yattag import {module_name}
. To remove this,__all__
can be used to explicitly define the intended exports.https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportPrivateImportUsage