Commit f39eca5
committed
docs(autopopulate): fix stale finally-comment; document upstream in class Attributes
Two post-#1499 docstring/comment updates on autopopulate.py:
1. The finally-block comment in _populate_one attributed the 'raises a
clear error' behavior to `self._upstream = None`, but post-#1499
that line only invalidates the memoized Diagram. The actual guard
is `self._upstream_key = None` (via the `upstream` property at
:135-140). Reworded to attribute each line to its role.
2. AutoPopulate class docstring's Attributes section listed only
`key_source` and `jobs`, omitting `upstream` - which after #1473 is
a public property and the recommended read surface inside make().
Added it alongside the others.
Docs-only.1 parent 5f49c76 commit f39eca5
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
736 | 741 | | |
737 | 742 | | |
738 | 743 | | |
739 | | - | |
740 | | - | |
741 | | - | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
742 | 749 | | |
743 | 750 | | |
744 | 751 | | |
| |||
0 commit comments