We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See the pic of using pylance/pyright in VS Code:
In gurobipy_pandas/__init__.py, if I change to this line:
gurobipy_pandas/__init__.py
from gurobipy_pandas.api import add_vars as add_vars # noqa: F401
Then the error goes away.
The text was updated successfully, but these errors were encountered:
I can't reproduce the issue in my vscode or running pyright manually (pyright 1.1.363) but would prefer to fix it by defining:
__all__ = ["add_vars", "add_constrs", "set_interactive"]
as the redundancy seems really odd to me. According to pyright's docs this should also do the trick.
Sorry, something went wrong.
Define public API in __all__ (#75)
33ac413
Fixes #73
This fix is released with version 1.1.2
Successfully merging a pull request may close this issue.
See the pic of using pylance/pyright in VS Code:
In
gurobipy_pandas/__init__.py
, if I change to this line:Then the error goes away.
The text was updated successfully, but these errors were encountered: