Library Missing Stub File Typed · microsoft/mssql-python · Discussion #100

Thanks for building the Microsoft MSSQL-PYTHON package!

Noticed that the package currently lacks the py.typed marker file, which causes linters to generate warnings after installation via pip. This file is necessary for type checkers to recognize the package as typed.

To resolve the issue, I followed these steps:

  1. Added a plain py.typed file to the root directory of the package (no code, just an indicator).
  2. Reloaded VSCode, and the warnings were gone.
    Screenshot 2025-06-24 153527

Hope this helps improve the package experience for others too!