forked from apdavison/fairgraph
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
e.g.
repo = omcore.FileRepository.from_id("c569b826-9d2e-4ba0-9363-561906c67cd6", kg_client)
files = repo.files.resolve(kg_client)
assert len(files) == 37
This fails, and gives len(files) => 10000
The problem is that in the FileRepository class the reverse property files has reverse="file_repositories", which does not match the forward property name in File, which is file_repository. This results in the query being built incorrectly.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress