dwiel / dwiel/graphcore

add sugar for typing a query

Open
#16 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

```
assignments = gc.query({
'savings_opportunity_assignment.id': 10,
'savings_opportunity_assignment.value?: None,
'savings_opportunity_assignment.message?: None,
})
print [assignment['savings_opportunity_assignment.value'] for assignment in assignments]
```

could be expressed something like this:

```
assignments = gc.query('savings_opportunity_assignment', {
'id': 10,
'value?': None,
'message?': None,
})
print [assignment['value'] for assignment in assignments]
```

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.