TypeError: Item in __all__ must be str, not function #105
Labels
💻 aspect: code
Concerns the software code in the repository
🤖 aspect: dx
Concerns developers' experience with the codebase
🛠 goal: fix
Bug fix
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟨 priority: medium
Not blocking but should be fixed soon
🏁 status: ready for work
Ready for work
Description
Many Python files in the repo use the
__all__
array to limit exported objects. Every item in the list should be a string containing the names of the exported variables.Currently the variable contains the variables themselves instead of their names, like this.
Instead the correct way which would be this.
Reproduction
Expectation
Wildcard imports, while discouraged, should still work.
Resolution
The text was updated successfully, but these errors were encountered: