Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/datajoint/diagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,12 @@ def _propagate_restrictions(self, start_node, mode, part_integrity="enforce"):
Walks the dependency graph in topological order, applying
propagation rules at each edge. Only processes descendants of
start_node to avoid duplicate propagation when chaining.

Invariant (``part_integrity="cascade"``): each restricted Part fires
its own upward walk to its Master exactly once — deduplicated per
``(part, master)`` pair (``visited_part_master_pairs``), not per
master — so a Master reached through several restricted Parts is
restricted from every one of them.
"""

sorted_nodes = topo_sort(self)
Expand Down
Loading