snipsco / snips-nlu

Snips Python library to extract meaning from text
https://snips-nlu.readthedocs.io
Apache License 2.0
3.89k stars 513 forks source link

Invalidate importlib caches after dynamically installing module #838

Closed adrienball closed 5 years ago

adrienball commented 5 years ago

Description: As specified in the importlib documentation, the importlib caches must be invalidated after dynamically installing a module.

Checklist:

codecov-io commented 5 years ago

Codecov Report

Merging #838 into master will decrease coverage by 0.06%. The diff coverage is 44.44%.

@@            Coverage Diff            @@
##           master    #838      +/-   ##
=========================================
- Coverage   88.96%   88.9%   -0.07%     
=========================================
  Files          79      79              
  Lines        5095    5103       +8     
  Branches      968     968              
=========================================
+ Hits         4533    4537       +4     
- Misses        417     421       +4     
  Partials      145     145