Skip to content

LocalName, SlotDefinition #15

@cbizon

Description

@cbizon

We return a json representation of an element.

So we do something like as_dict(bmt.get_element(element_name)) and then turn that into JSON.

But there are some values of that dict that contain un-jsonable elements (LocalName, SlotDefinition). At the moment, I've just filtered out those element keys, but it would be pretty straightforward to clean that up and convert those entities into dictionaries as well.

Brought up to BMT here: biolink/biolink-model-toolkit#21

Depending on how that is resolved or not, we might take different approaches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions