Commit f807eee
committed
PY-207 nq.runs, nq.Filter, nq.Attribute, nq.AttributeFilter
I want to make working with nq easier by allowing to import runs,
Filter, Attribute and AttributeFilter straight from `neptune_query`
(often aliased as `nq`):
```
import neptune_query as nq
nq.runs.list_attributes(
runs=nq.Filter.eq(nq.Attribute("sys/name"), "my-run"),
attributes=nq.AttributeFilter(name="abc/"),
)
```1 parent fdc3c27 commit f807eee
1 file changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | | - | |
23 | 20 | | |
| 21 | + | |
24 | 22 | | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
499 | 504 | | |
500 | 505 | | |
501 | 506 | | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
0 commit comments