this adds a versioned_id() class method that checks the __version__ property of a translator and returns e.g. getty@QmWsU4MrF28SrYz5Kwdd2i1d1fUozakdUUuHaSUHjNrBcT. The version is set in get_translator, and the versioned_id is used by the writer, so you get e.g.:
this adds a
versioned_id()
class method that checks the__version__
property of a translator and returns e.g.getty@QmWsU4MrF28SrYz5Kwdd2i1d1fUozakdUUuHaSUHjNrBcT
. The version is set inget_translator
, and theversioned_id
is used by the writer, so you get e.g.:It occurs to me that it would be cool if we update the write to output resolvable links to the translators, e.g.
or something. But happy to defer that for now.