You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, the page built by the action does not correctly display autodoc for the driver module (it does create a section for the module, but no autodoc). Other modules work fine, and the VSCode preview on my machine also works fine. Bug in the Action script?
The text was updated successfully, but these errors were encountered:
WARNING: autodoc: failed to import module 'driver' from module 'biocypher'; the following exception was raised:
No module named 'neo4j'
/github/workspace/biocypher/check.py:docstring of biocypher.check:16: WARNING: Unknown directive type "todo".
The last line is only a warning but might be good to address.
Yes, that was it. Solved by adding autodoc_mock_imports = ["neo4j"] to the config. It worked locally because neo4j was installed and the preview function uses the active environment, whereas on the Action node, neo4j is missing.
For some reason, the page built by the action does not correctly display autodoc for the driver module (it does create a section for the module, but no autodoc). Other modules work fine, and the VSCode preview on my machine also works fine. Bug in the Action script?
The text was updated successfully, but these errors were encountered: