-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding docs from a package that is installed fails with KeyError: <class 'ast.BoolOp'> #82
Comments
Is the package public? I'd like to see the source 🙂 |
Sure! It's entropylab (pip install entropylab) We were able to trace the problem to the an incorrect type annotation on our side. Just took a bit of time to find where it was as the error message gave no hint. |
OK. I'll try to catch the exception to provide such a hint. Out of curiosity, what did the annotation look like? |
I also have the same problem after upgrading to python 3.8 and |
I tried a workaround using |
@aschmu, it's probably wrong to use boolean operations in annotations ( |
Next version will log an error instead of crashing. |
I added a package to my poetry dependency list using
pip add <package_name>
I then try to add the package to documentation using
::: package_name
insidepackage_docs.md
When I run
mkdocs serve
I get an error message:The text was updated successfully, but these errors were encountered: