|
14 | 14 | "execution_count": 1, |
15 | 15 | "metadata": { |
16 | 16 | "ExecuteTime": { |
17 | | - "end_time": "2023-06-17T04:10:09.277298Z", |
18 | | - "start_time": "2023-06-17T04:10:09.273502Z" |
| 17 | + "end_time": "2023-06-17T05:12:49.148098Z", |
| 18 | + "start_time": "2023-06-17T05:12:49.144117Z" |
19 | 19 | } |
20 | 20 | }, |
21 | 21 | "outputs": [], |
|
25 | 25 | }, |
26 | 26 | { |
27 | 27 | "cell_type": "code", |
28 | | - "execution_count": 117, |
| 28 | + "execution_count": 2, |
29 | 29 | "metadata": { |
30 | 30 | "ExecuteTime": { |
31 | | - "end_time": "2023-06-17T05:01:22.526678Z", |
32 | | - "start_time": "2023-06-17T05:01:22.520727Z" |
| 31 | + "end_time": "2023-06-17T05:12:49.306732Z", |
| 32 | + "start_time": "2023-06-17T05:12:49.152150Z" |
33 | 33 | } |
34 | 34 | }, |
35 | 35 | "outputs": [], |
36 | 36 | "source": [ |
37 | | - "#| hide\n", |
| 37 | + "#| export\n", |
38 | 38 | "from nbdev.showdoc import *\n", |
39 | 39 | "from fastcore.test import *\n", |
40 | 40 | "\n", |
|
48 | 48 | }, |
49 | 49 | { |
50 | 50 | "cell_type": "code", |
51 | | - "execution_count": 74, |
| 51 | + "execution_count": 3, |
52 | 52 | "metadata": { |
53 | 53 | "ExecuteTime": { |
54 | | - "end_time": "2023-06-17T04:33:26.612428Z", |
55 | | - "start_time": "2023-06-17T04:33:26.607320Z" |
| 54 | + "end_time": "2023-06-17T05:12:49.310427Z", |
| 55 | + "start_time": "2023-06-17T05:12:49.307880Z" |
56 | 56 | } |
57 | 57 | }, |
58 | 58 | "outputs": [], |
59 | 59 | "source": [ |
60 | | - "#| hide\n", |
| 60 | + "#| export\n", |
61 | 61 | "def load_json(json_source: Union[str, dict]=None) -> dict:\n", |
62 | 62 | " '''\n", |
63 | 63 | " convenience method to return a dict from either\n", |
|
67 | 67 | " with open(json_source) as ifile:\n", |
68 | 68 | " return json.load(ifile)\n", |
69 | 69 | " elif isinstance(json_source, dict):\n", |
70 | | - " return json_schema" |
| 70 | + " return json_source" |
71 | 71 | ] |
72 | 72 | }, |
73 | 73 | { |
74 | 74 | "cell_type": "code", |
75 | 75 | "execution_count": 4, |
76 | 76 | "metadata": { |
77 | 77 | "ExecuteTime": { |
78 | | - "end_time": "2023-06-17T04:10:10.931893Z", |
79 | | - "start_time": "2023-06-17T04:10:10.920315Z" |
| 78 | + "end_time": "2023-06-17T05:12:49.315430Z", |
| 79 | + "start_time": "2023-06-17T05:12:49.311303Z" |
80 | 80 | } |
81 | 81 | }, |
82 | 82 | "outputs": [], |
|
129 | 129 | "execution_count": 5, |
130 | 130 | "metadata": { |
131 | 131 | "ExecuteTime": { |
132 | | - "end_time": "2023-06-17T04:10:11.856479Z", |
133 | | - "start_time": "2023-06-17T04:10:11.851301Z" |
| 132 | + "end_time": "2023-06-17T05:12:49.319205Z", |
| 133 | + "start_time": "2023-06-17T05:12:49.317113Z" |
134 | 134 | }, |
135 | 135 | "pinned_outputs": [] |
136 | 136 | }, |
|
164 | 164 | "execution_count": 6, |
165 | 165 | "metadata": { |
166 | 166 | "ExecuteTime": { |
167 | | - "end_time": "2023-06-17T04:10:13.949082Z", |
168 | | - "start_time": "2023-06-17T04:10:13.943652Z" |
| 167 | + "end_time": "2023-06-17T05:12:49.322084Z", |
| 168 | + "start_time": "2023-06-17T05:12:49.320023Z" |
169 | 169 | } |
170 | 170 | }, |
171 | 171 | "outputs": [], |
|
196 | 196 | "execution_count": 7, |
197 | 197 | "metadata": { |
198 | 198 | "ExecuteTime": { |
199 | | - "end_time": "2023-06-17T04:10:14.452890Z", |
200 | | - "start_time": "2023-06-17T04:10:14.447771Z" |
| 199 | + "end_time": "2023-06-17T05:12:49.325021Z", |
| 200 | + "start_time": "2023-06-17T05:12:49.322745Z" |
201 | 201 | } |
202 | 202 | }, |
203 | 203 | "outputs": [], |
|
229 | 229 | "execution_count": 8, |
230 | 230 | "metadata": { |
231 | 231 | "ExecuteTime": { |
232 | | - "end_time": "2023-06-17T04:10:16.487129Z", |
233 | | - "start_time": "2023-06-17T04:10:16.482226Z" |
| 232 | + "end_time": "2023-06-17T05:12:49.327934Z", |
| 233 | + "start_time": "2023-06-17T05:12:49.325819Z" |
234 | 234 | } |
235 | 235 | }, |
236 | 236 | "outputs": [], |
|
256 | 256 | }, |
257 | 257 | { |
258 | 258 | "cell_type": "code", |
259 | | - "execution_count": 75, |
| 259 | + "execution_count": 9, |
260 | 260 | "metadata": { |
261 | 261 | "ExecuteTime": { |
262 | | - "end_time": "2023-06-17T04:33:46.212340Z", |
263 | | - "start_time": "2023-06-17T04:33:46.197471Z" |
| 262 | + "end_time": "2023-06-17T05:12:49.334086Z", |
| 263 | + "start_time": "2023-06-17T05:12:49.328679Z" |
264 | 264 | } |
265 | 265 | }, |
266 | 266 | "outputs": [], |
|
328 | 328 | }, |
329 | 329 | { |
330 | 330 | "cell_type": "code", |
331 | | - "execution_count": 46, |
| 331 | + "execution_count": 10, |
332 | 332 | "metadata": { |
333 | 333 | "ExecuteTime": { |
334 | | - "end_time": "2023-06-17T04:19:07.546600Z", |
335 | | - "start_time": "2023-06-17T04:19:07.535779Z" |
| 334 | + "end_time": "2023-06-17T05:12:49.337746Z", |
| 335 | + "start_time": "2023-06-17T05:12:49.334968Z" |
336 | 336 | } |
337 | 337 | }, |
338 | 338 | "outputs": [], |
|
390 | 390 | }, |
391 | 391 | { |
392 | 392 | "cell_type": "code", |
393 | | - "execution_count": 47, |
| 393 | + "execution_count": 11, |
394 | 394 | "metadata": { |
395 | 395 | "ExecuteTime": { |
396 | | - "end_time": "2023-06-17T04:19:08.084986Z", |
397 | | - "start_time": "2023-06-17T04:19:08.080887Z" |
| 396 | + "end_time": "2023-06-17T05:12:49.341480Z", |
| 397 | + "start_time": "2023-06-17T05:12:49.339998Z" |
398 | 398 | } |
399 | 399 | }, |
400 | 400 | "outputs": [], |
|
405 | 405 | }, |
406 | 406 | { |
407 | 407 | "cell_type": "code", |
408 | | - "execution_count": 48, |
| 408 | + "execution_count": 12, |
409 | 409 | "metadata": { |
410 | 410 | "ExecuteTime": { |
411 | | - "end_time": "2023-06-17T04:19:10.083043Z", |
412 | | - "start_time": "2023-06-17T04:19:10.077382Z" |
| 411 | + "end_time": "2023-06-17T05:12:49.443764Z", |
| 412 | + "start_time": "2023-06-17T05:12:49.342258Z" |
413 | 413 | } |
414 | 414 | }, |
415 | 415 | "outputs": [], |
|
429 | 429 | }, |
430 | 430 | { |
431 | 431 | "cell_type": "code", |
432 | | - "execution_count": 49, |
| 432 | + "execution_count": null, |
433 | 433 | "metadata": { |
434 | 434 | "ExecuteTime": { |
435 | | - "end_time": "2023-06-17T04:19:10.475050Z", |
436 | | - "start_time": "2023-06-17T04:19:10.463541Z" |
| 435 | + "end_time": "2023-06-17T05:12:49.452038Z", |
| 436 | + "start_time": "2023-06-17T05:12:49.452031Z" |
437 | 437 | } |
438 | 438 | }, |
439 | 439 | "outputs": [], |
|
453 | 453 | }, |
454 | 454 | { |
455 | 455 | "cell_type": "code", |
456 | | - "execution_count": 50, |
| 456 | + "execution_count": null, |
457 | 457 | "metadata": { |
458 | 458 | "ExecuteTime": { |
459 | | - "end_time": "2023-06-17T04:19:10.828740Z", |
460 | | - "start_time": "2023-06-17T04:19:10.823010Z" |
| 459 | + "end_time": "2023-06-17T05:12:49.452651Z", |
| 460 | + "start_time": "2023-06-17T05:12:49.452646Z" |
461 | 461 | } |
462 | 462 | }, |
463 | 463 | "outputs": [], |
|
474 | 474 | }, |
475 | 475 | { |
476 | 476 | "cell_type": "code", |
477 | | - "execution_count": 51, |
| 477 | + "execution_count": null, |
478 | 478 | "metadata": { |
479 | 479 | "ExecuteTime": { |
480 | | - "end_time": "2023-06-17T04:19:13.095879Z", |
481 | | - "start_time": "2023-06-17T04:19:13.091326Z" |
| 480 | + "end_time": "2023-06-17T05:12:49.453084Z", |
| 481 | + "start_time": "2023-06-17T05:12:49.453079Z" |
482 | 482 | } |
483 | 483 | }, |
484 | 484 | "outputs": [], |
|
495 | 495 | }, |
496 | 496 | { |
497 | 497 | "cell_type": "code", |
498 | | - "execution_count": 52, |
| 498 | + "execution_count": null, |
499 | 499 | "metadata": { |
500 | 500 | "ExecuteTime": { |
501 | | - "end_time": "2023-06-17T04:19:13.103596Z", |
502 | | - "start_time": "2023-06-17T04:19:13.098590Z" |
| 501 | + "end_time": "2023-06-17T05:12:49.453715Z", |
| 502 | + "start_time": "2023-06-17T05:12:49.453708Z" |
503 | 503 | } |
504 | 504 | }, |
505 | 505 | "outputs": [], |
|
516 | 516 | }, |
517 | 517 | { |
518 | 518 | "cell_type": "code", |
519 | | - "execution_count": 53, |
| 519 | + "execution_count": null, |
520 | 520 | "metadata": { |
521 | 521 | "ExecuteTime": { |
522 | | - "end_time": "2023-06-17T04:19:13.109885Z", |
523 | | - "start_time": "2023-06-17T04:19:13.105348Z" |
| 522 | + "end_time": "2023-06-17T05:12:49.454953Z", |
| 523 | + "start_time": "2023-06-17T05:12:49.454943Z" |
524 | 524 | } |
525 | 525 | }, |
526 | 526 | "outputs": [], |
|
538 | 538 | { |
539 | 539 | "cell_type": "code", |
540 | 540 | "execution_count": null, |
541 | | - "metadata": {}, |
| 541 | + "metadata": { |
| 542 | + "ExecuteTime": { |
| 543 | + "end_time": "2023-06-17T05:12:49.455383Z", |
| 544 | + "start_time": "2023-06-17T05:12:49.455376Z" |
| 545 | + } |
| 546 | + }, |
542 | 547 | "outputs": [], |
543 | 548 | "source": [ |
544 | 549 | "#| hide\n", |
|
0 commit comments