Skip to content

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 swh-environment#2575 (closed).


Migrated from D3920 (view on Phabricator)

Merge request reports