Commit 4f468d4
perf: lazy-load deepdiff and tqdm in autopopulate
Move imports inside methods where they're used to avoid loading
these dependencies at module import time. This speeds up `import datajoint`
for users who don't call populate().
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent a8b0734 commit 4f468d4
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
401 | 398 | | |
402 | 399 | | |
403 | 400 | | |
| 401 | + | |
| 402 | + | |
404 | 403 | | |
405 | 404 | | |
406 | 405 | | |
| |||
473 | 472 | | |
474 | 473 | | |
475 | 474 | | |
| 475 | + | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
| |||
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
| 585 | + | |
| 586 | + | |
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
| |||
0 commit comments