HomeSoftware Heritage

cli: speedup the `swh` cli command startup time

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
Parents
rDOBJSf6e9b0149a35: Use absolute import
Branches
Unknown
Tags
Unknown
References
tag: v0.2.0
Tasks
T2575: Investigate if/how we could improve `swh` cli command startup time
Build Status
Buildable 15021
Build 23151: test-and-buildJenkins console · Jenkins