HomeSoftware Heritage

cli: speedup the `swh` cli command startup time

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

cli: speedup the swh cli command startup time

by moving import statements in functions and stop importing
swh.objstorage.factory.* in swh.objstorage.

Warning: this later breaks a few dependencies that had not updated
the way they import get_objstorage.

Related to T2575.

Details

Provenance
douarddaAuthored on Sep 10 2020, 9:38 AM
douarddaPushed on Sep 10 2020, 5:13 PM
Differential Revision
D3917: Use absolute import
Tasks
T2575: Investigate if/how we could improve `swh` cli command startup time
Build Status
Buildable 15021
Build 23151: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.