Skip to content

Consider whether SDK should provide ambient package id #85

@jcushman

Description

@jcushman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions