Add documentation for cyclic-import#8322
Conversation
|
I decided to check out your documentation for cyclic import. I was able to fix some things by adding import sys and then sys.path.append('...') (That fixed the relative-beyond-top-level error), but I keep getting an error saying that: "/messages/c/cyclic-import/bad/bad2.py:2: in |
|
Ha right, cyclic-import is a python error we need to import inside the function in Bad.py. thank you for investigating |
|
You're welcome |
|
It also means you can document relative-beyond-top-level, which is not documented. |
28a0bff to
ac45dab
Compare
|
Seem like it work when using the parent directory. The recursive option does not help. |
ac45dab to
60374a0
Compare
Example of cyclic import where the cyclic import does not crash python
60374a0 to
8fe826e
Compare
|
Resolved this with an |
|
Thank you so much @jacobtylerwalls ! |
Type of Changes
Description
Work in progress for cyclic-import documentation. Right now it's not triggered. Refs #7897