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.
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:
Returns :
Type 'https://core.kg.ebrains.eu/doi/AdditionalDoiInformation' was not found in the registry for version v4.