Commit 219bbd7
Remove the
The `with_ancestors` parameter no longer makes sense now that there is a `populate` arg. A better name for it would be `return_populated_root`. But removing it completely is cleaner, since a call of the form `view.get(with_ancestors=True)` is equivalent to `root.get(populate=[view])`. If you don't have the root already, it can easily be obtained using `view.get_root()`.
PiperOrigin-RevId: 861678350
Change-Id: Iafaa1e398f36157cdd4690e2751d5d1a88b13c0fwith_ancestors argument from DataSliceManagerView.get().1 parent d354a6b commit 219bbd7
File tree
3 files changed
+20
-43
lines changed- py/koladata/ext/persisted_data
- colab
3 files changed
+20
-43
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
| 729 | + | |
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| |||
Lines changed: 8 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 112 | | |
119 | 113 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
123 | 117 | | |
124 | | - | |
125 | | - | |
126 | | - | |
| 118 | + | |
127 | 119 | | |
128 | 120 | | |
129 | 121 | | |
| |||
138 | 130 | | |
139 | 131 | | |
140 | 132 | | |
141 | | - | |
142 | | - | |
143 | 133 | | |
144 | 134 | | |
145 | 135 | | |
146 | 136 | | |
147 | 137 | | |
148 | | - | |
149 | 138 | | |
150 | 139 | | |
151 | 140 | | |
| |||
157 | 146 | | |
158 | 147 | | |
159 | 148 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 149 | | |
166 | 150 | | |
167 | | - | |
168 | | - | |
169 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
170 | 154 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 155 | + | |
174 | 156 | | |
175 | 157 | | |
176 | | - | |
177 | 158 | | |
178 | 159 | | |
179 | 160 | | |
| |||
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
1803 | | - | |
1804 | | - | |
1805 | | - | |
| 1803 | + | |
| 1804 | + | |
1806 | 1805 | | |
1807 | 1806 | | |
1808 | 1807 | | |
1809 | 1808 | | |
1810 | 1809 | | |
1811 | | - | |
| 1810 | + | |
1812 | 1811 | | |
1813 | 1812 | | |
1814 | | - | |
1815 | | - | |
| 1813 | + | |
1816 | 1814 | | |
1817 | 1815 | | |
1818 | 1816 | | |
| |||
1865 | 1863 | | |
1866 | 1864 | | |
1867 | 1865 | | |
1868 | | - | |
1869 | | - | |
| 1866 | + | |
| 1867 | + | |
1870 | 1868 | | |
1871 | 1869 | | |
1872 | 1870 | | |
1873 | 1871 | | |
1874 | 1872 | | |
1875 | | - | |
1876 | | - | |
1877 | | - | |
| 1873 | + | |
| 1874 | + | |
1878 | 1875 | | |
1879 | 1876 | | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
| 1877 | + | |
1883 | 1878 | | |
| 1879 | + | |
1884 | 1880 | | |
1885 | 1881 | | |
1886 | 1882 | | |
| |||
0 commit comments