Skip to content

Library Missing Stub File Typed #359

@dlevy-msft-sql

Description

@dlevy-msft-sql

Discussed in #100

Originally posted by vinodkwb June 24, 2025
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!

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions