Commit c2526e3
Use string-based import to avoid broad import
Replace `import pythainlp; files(pythainlp)` with `files("pythainlp")` in get_pythainlp_path() to avoid importing the entire package unnecessarily. This is consistent with the pattern used elsewhere in the codebase and avoids potential circular import issues.
Co-authored-by: bact <128572+bact@users.noreply.github.com>1 parent a9750f1 commit c2526e3
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
0 commit comments