facebookresearch / beanmachine

A library that allows for inference on probabilistic models
https://beanmachine.org/
MIT License
264 stars 49 forks source link

Remove an undefined name #1833

Open munahaf opened 11 months ago

munahaf commented 11 months ago

In file: init.py, the list named __all__ contains undefined names which can result in errors when this module is imported. I removed the undefined names from the list. For more information regarding __all__, please read about importing fields from a package.

Sponsorship and Support:

This work is done by the security researchers from OpenRefactory and is supported by the Open Source Security Foundation (OpenSSF): Project Alpha-Omega. Alpha-Omega is a project partnering with open source software project maintainers to systematically find new, as-yet-undiscovered vulnerabilities in open source code - and get them fixed – to improve global software supply chain security.

The bug is found by running the Intelligent Code Repair (iCR) tool by OpenRefactory and then manually triaging the results.