Staging instance, all changes can be removed at any time

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 StorageInterface which triggers the loading of 300+ modules).

Related to swh-environment#2575 (closed).


Migrated from D3907 (view on Phabricator)

Merge request reports

Loading