Skip to content

client.space_info() raises errors because of unknown types from the kg #113

@mdjaffardjy

Description

@mdjaffardjy

When calling the function, some "types" (classes) are not found - there is a discrepancy between the classes found in the kg (via _kg_client.types.list() from the module openminds) and those in the registry (found via fairgraph).

example:

test_type = client._kg_client.types.list(space="controlled", stage="IN_PROGRESS").data[1].identifier
cls = lookup_type(test_type,"v4")

Returns :
Type 'https://core.kg.ebrains.eu/doi/AdditionalDoiInformation' was not found in the registry for version v4.

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