Inspired by Django's query structure.
foo = bar.filter(obj__name__in=["john", "smith"])
returns all objects in bar that have an object obj in them with an attribute name in the list.
pytest --cov=attrmagic --cov-report html tests/
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Inspired by Django's query structure.
foo = bar.filter(obj__name__in=["john", "smith"])
returns all objects in bar that have an object obj in them with an attribute name in the list.
pytest --cov=attrmagic --cov-report html tests/