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
I searched through existing issues, and saw the # type: ignore method, but doesn't seem to work:
# type: ignore
from flask import Flask # type: ignore app = Flask(__name__) log = config.configure_logging(app) log.info('Starting Flask Demo with environment {0}'.format(config.ENVIRONMENT)) app.config.from_object(config) app.config.from_envvar('APP_SETTINGS', silent=True) app.config.from_object(config) app.config.from_envvar('APP_SETTINGS', silent=True)
api/app.py:22: error: "Dict[str, Any]" has no attribute "from_object" api/app.py:23: error: "Dict[str, Any]" has no attribute "from_envvar"
MyPy Version: 0.670
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
thanks that worked,
btw: this was the referenced thread, and # type ignore is on the import
# type ignore
#500
Ignore known bug in typeshed
09e47ff
See python/mypy#6410
Note its# type: ignore (with the colon) as described in PEP-484
No branches or pull requests
I searched through existing issues, and saw the
# type: ignore
method, but doesn't seem to work:MyPy Version: 0.670
The text was updated successfully, but these errors were encountered: