Commit 9d629bb
committed
chore: move
Move the `validate_attrs` function to be inside the `RequiredOptional`
class. It makes sense for it to be part of the class as it is working
on data related to the class.utils._validate_attrs inside types.RequiredOptional
1 parent 0c5a121 commit 9d629bbCopy full SHA for 9d629bb
Expand file treeCollapse file tree
7 files changed
+41
-44
lines changedOpen diff view settings
Collapse file
+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
278 | 278 | |
279 | 279 | |
280 | 280 | |
281 | | - |
| 281 | + |
282 | 282 | |
283 | 283 | |
284 | 284 | |
| ||
345 | 345 | |
346 | 346 | |
347 | 347 | |
348 | | - |
349 | | - |
350 | | - |
| 348 | + |
351 | 349 | |
352 | 350 | |
353 | 351 | |
|
Collapse file
+28-1Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
28 | 55 | |
29 | 56 | |
30 | 57 | |
|
Collapse file
+1-28Lines changed: 1 addition & 28 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
| ||
159 | 159 | |
160 | 160 | |
161 | 161 | |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
| ||
107 | 107 | |
108 | 108 | |
109 | 109 | |
110 | | - |
| 110 | + |
111 | 111 | |
112 | 112 | |
113 | 113 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
145 | 145 | |
146 | 146 | |
147 | 147 | |
148 | | - |
| 148 | + |
149 | 149 | |
150 | 150 | |
151 | 151 | |
| ||
179 | 179 | |
180 | 180 | |
181 | 181 | |
182 | | - |
| 182 | + |
183 | 183 | |
184 | 184 | |
185 | 185 | |
|
Collapse file
gitlab/v4/objects/issues.py
Copy file name to clipboardExpand all lines: gitlab/v4/objects/issues.py+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
| ||
272 | 272 | |
273 | 273 | |
274 | 274 | |
275 | | - |
| 275 | + |
276 | 276 | |
277 | 277 | |
278 | 278 | |
|
Collapse file
tests/unit/mixins/test_mixin_methods.py
Copy file name to clipboardExpand all lines: tests/unit/mixins/test_mixin_methods.py+4-5Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | 6 | |
8 | 7 | |
9 | 8 | |
| ||
174 | 173 | |
175 | 174 | |
176 | 175 | |
177 | | - |
| 176 | + |
178 | 177 | |
179 | 178 | |
180 | 179 | |
181 | | - |
| 180 | + |
182 | 181 | |
183 | 182 | |
184 | 183 | |
| ||
240 | 239 | |
241 | 240 | |
242 | 241 | |
243 | | - |
| 242 | + |
244 | 243 | |
245 | 244 | |
246 | 245 | |
247 | | - |
| 246 | + |
248 | 247 | |
249 | 248 | |
250 | 249 | |
|
0 commit comments