The SDK doesn't provide an identifier for self -- 'binoc' or 'binoc-sqlite' or 'binoc-stdlib.whatever'. I'm not sure what would define that, perhaps the python import string since we use that for namespacing.
This might be useful for a situtation like, annotations are {package_id, key, value}, and by default a plugin wants to annotate something like {'binoc-sqlite', key, value}, but it might want to ride on a shared definition like {'binoc', 'commonly-used-key', value}. One would want to support that with annotate(key, value) and annotate_from('binoc', key, value), but we have no implicit ID for the first one.
Would need to see how much this looks like a common need / simplification.
The SDK doesn't provide an identifier for self --
'binoc'or'binoc-sqlite'or'binoc-stdlib.whatever'. I'm not sure what would define that, perhaps the python import string since we use that for namespacing.This might be useful for a situtation like, annotations are
{package_id, key, value}, and by default a plugin wants to annotate something like{'binoc-sqlite', key, value}, but it might want to ride on a shared definition like{'binoc', 'commonly-used-key', value}. One would want to support that withannotate(key, value)andannotate_from('binoc', key, value), but we have no implicit ID for the first one.Would need to see how much this looks like a common need / simplification.