generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
Driver version
Redshift version
Client Operating System
Python version
Table schema
Problem description
It looks like this package has type annotations fully specified inline, but mypy doesn't recognize that the type hints can be used without a "py.typed" marker file (as described in PEP561).
- Expected behaviour: Mypy recognizes the inline annotations
- Actual behaviour: Mypy errors and skips analyzing anything from the package
- Error message/stack trace:
error: Skipping analyzing "redshift_connector": module is installed, but missing library stubs or py.typed marker [import-untyped] - Any other details that can be helpful: Very simple fix, just need to add a blank file named "py.typed" to the package root and make sure setuptools includes it in the sdist and wheel
Python Driver trace logs
Reproduction code
Metadata
Metadata
Assignees
Labels
No labels