Skip to content

FIX: add explicit exports from main library module#494

Open
cepedus wants to merge 2 commits intomicrosoft:mainfrom
cepedus:add-explicit-exports
Open

FIX: add explicit exports from main library module#494
cepedus wants to merge 2 commits intomicrosoft:mainfrom
cepedus:add-explicit-exports

Conversation

@cepedus
Copy link
Copy Markdown

@cepedus cepedus commented Apr 2, 2026

Issue Reference

GitHub Issue: #489


Summary

Adds __all__ to __init__.py listing all public symbols currently imported into the module. This allows to import any already public object directly from the root module, without worrying about the internal package structure.

This change also makes the tutorial snippets mypy-compliant

@cepedus
Copy link
Copy Markdown
Author

cepedus commented Apr 2, 2026

@microsoft-github-policy-service agree

@jahnvi480
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

78%


📈 Total Lines Covered: 6603 out of 8393
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

  • mssql_python/init.py (100%)

Summary

  • Total: 1 line
  • Missing: 0 lines
  • Coverage: 100%

📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.pybind.ddbc_bindings.h: 67.8%
mssql_python.row.py: 70.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 73.9%
mssql_python.pybind.connection.connection.cpp: 75.3%
mssql_python.__init__.py: 77.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 85.2%

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@jahnvi480
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants