Children modules of Repeated Container Modules #180
mert-kurttutan
started this conversation in
General
Replies: 1 comment 1 reply
-
I don't completely understand what you are noticing here, maybe annotating the example given would help me understand what the confusion is? It sounds like recursive children modules do not contain the correct children on output? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
At the moment, I don't think this is a bug, but rather a result of recursive use of the same Container Modules.
When there is a repetition of container modules , the children of container modules will set as many times as the repetition of the container module. Therefore, the final value of children modules of the container module will be set by the final repetition
To Reproduce
Use the following code and summary
Expected behavior
This does not affect the results in a negative way since children modules are added to the summary list while traversing. So, it uses the current child.
But after the traversal of entire main module, the end result is determined by the last occurrence of container modules. I think there might a better way to set the children of container modules after traversal. Maybe set the children according definition in
__init__
Beta Was this translation helpful? Give feedback.
All reactions