Commit a2fdfef
committed
feat(package): Expose COVID feature in top-level __init__
This commit updates the main pat2vec/__init__.py file to make the new COVID-19 feature components accessible from the top-level package.
The following functions and constants are now importable directly from pat2vec:
get_covid, search_covid, calculate_covid_features
COVID_FIELDS, SEARCH_TERM_ES, SEARCH_TERM_PLAIN
generate_covid_observations_data
These additions have been registered in the __all__ list to ensure they are part of the public API, improving usability and discoverability for developers using the library. This change completes the integration of the COVID feature into the package structure.1 parent 1025fdc commit a2fdfef
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
256 | 264 | | |
257 | 265 | | |
258 | 266 | | |
| 267 | + | |
259 | 268 | | |
260 | 269 | | |
261 | 270 | | |
| |||
446 | 455 | | |
447 | 456 | | |
448 | 457 | | |
| 458 | + | |
449 | 459 | | |
450 | 460 | | |
451 | 461 | | |
| |||
459 | 469 | | |
460 | 470 | | |
461 | 471 | | |
| 472 | + | |
| 473 | + | |
462 | 474 | | |
463 | 475 | | |
464 | 476 | | |
| |||
503 | 515 | | |
504 | 516 | | |
505 | 517 | | |
| 518 | + | |
506 | 519 | | |
507 | 520 | | |
508 | 521 | | |
| |||
585 | 598 | | |
586 | 599 | | |
587 | 600 | | |
| 601 | + | |
588 | 602 | | |
589 | 603 | | |
590 | 604 | | |
| |||
611 | 625 | | |
612 | 626 | | |
613 | 627 | | |
| 628 | + | |
614 | 629 | | |
615 | 630 | | |
616 | 631 | | |
| |||
746 | 761 | | |
747 | 762 | | |
748 | 763 | | |
| 764 | + | |
749 | 765 | | |
750 | 766 | | |
751 | 767 | | |
| |||
0 commit comments