BlueBrain / nexus-forge

Building and Using Knowledge Graphs made easy
https://nexus-forge.readthedocs.io
GNU Lesser General Public License v3.0
38 stars 19 forks source link

Support result_resource_mapping with forge calls in Resolver.resolve() #316

Closed MFSY closed 1 year ago

MFSY commented 1 year ago

Because of calls like this in Resolver.resolve (i.e no forge object provided), a mapping file with the following content will fail when used as "result_resource_mapping" value of a resolver config:

{ "targetProp":forge.resolve(x.originProp, scope="...", target="...") }