cli: speedup the swh cli command startup time
by moving import statements in functions and using conditional
import of typechecking modules (especially swh.storage.interface
which triggers the loading of 300+ modules).
Related to T2575.
douardda | Authored on Sep 10 2020, 12:28 PM |
douardda | Pushed on Sep 11 2020, 10:32 AM |
Buildable 15047 | |
Build 23192: test-and-build | Jenkins console · Jenkins |