Skip to content

🐛 fix(backend): make wildcard imports work - #16

Merged
gaborbernat merged 1 commit into
mainfrom
fix/backend-configsettings-export
Nov 13, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
fix/backend-configsettings-export

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

from python_sbom.backend import * failed, because ConfigSettings is listed in the backend's __all__ but was defined only under TYPE_CHECKING 🐛. The alias now exists at runtime, so a wildcard import brings in every name the backend declares.

@gaborbernat gaborbernat added the bug Something isn't working label Nov 13, 2026
@gaborbernat
gaborbernat force-pushed the fix/backend-configsettings-export branch from 985c91e to 72aebff Compare November 13, 2026 01:36
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 python-sbom | 🛠️ Build #35855791 | 📁 Comparing 72aebff against latest (906d92e)

  🔍 Preview build  

1 file changed
± changelog.html

@gaborbernat
gaborbernat merged commit dae9036 into main Nov 13, 2026
37 checks passed
@gaborbernat
gaborbernat deleted the fix/backend-configsettings-export branch November 13, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant