dwiel / dwiel/graphcore

allow creating many to one rules

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11
Forks
1
PR merge metrics
No merged PRs in 30d

Description

For example:

```
gc.rule(['person.children.id', 'person.children.age'], 'person.oldest_child.id', cardinality='many-to-one')
def person_oldest_child(ids, ages):
return argmax(ages, ids)
```

In this case, would a query which also fetches children and constrains them affect the oldest_child?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.