ImageHash: gain a name property
authorHelmut Grohne <helmut@subdivi.de>
Wed, 29 Dec 2021 14:24:34 +0000 (15:24 +0100)
committerHelmut Grohne <helmut@subdivi.de>
Wed, 29 Dec 2021 14:24:34 +0000 (15:24 +0100)
commitc2b5909eff090ebb3f19ab88308f0cc7b913157e
tree4188260ea9f0f0783bf730a071a38d0784385ce1
parent2cb95eb8c68a692b0abb535925e8b55175285ea4
ImageHash: gain a name property

Instead of retroactively attaching a name to an ImageHash, autogenerate
it via a property. Doing so also simplifies static type checking.
dedup/image.py
importpkg.py