HomeSoftware Heritage

Don't set APIBase._client in check()

Description

Don't set APIBase._client in check()

Instead, make it really an internal attribute with a method
that uses as a cache.

Motivation: a method named 'checks' shouldn't set attributes.

Details

Provenance
vlorentzAuthored on Nov 25 2020, 11:49 AM
vlorentzPushed on Nov 25 2020, 5:51 PM
Differential Revision
D4587: Don't set APIBase._client in check()
Parents
rDDEPdf87127d16c4: Remove attribute APIBase._collection
Branches
Unknown
Tags
Unknown
Build Status
Buildable 17514
Build 27071: test-and-buildJenkins console · Jenkins