mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-30 13:33:44 +03:00
4517e32224
* 🔧 Add pre-commit config Similar to graphene and graphene-sqlalchemy * ⬆ Bump black * 👷 Lint on CI * ⬆ Bump flake8-black * 🔧 Keep excluding migrations * ⬆ Bump flake8 * 🔧 Remove black and flake8 from tox config * ⬆ Update pre-commit versions * Upgrade syntax to python 3.7+ * Format with pre-commit dedent docs/schema.py to allow formatting * Fix tests on python 3.7
53 lines
887 B
JSON
53 lines
887 B
JSON
[
|
|
{
|
|
"fields": {
|
|
"name": "Dairy"
|
|
},
|
|
"model": "ingredients.category",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"name": "Meat"
|
|
},
|
|
"model": "ingredients.category",
|
|
"pk": 2
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 1,
|
|
"name": "Eggs",
|
|
"notes": "Good old eggs"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 1,
|
|
"name": "Milk",
|
|
"notes": "Comes from a cow"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 2
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 2,
|
|
"name": "Beef",
|
|
"notes": "Much like milk, this comes from a cow"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 3
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 2,
|
|
"name": "Chicken",
|
|
"notes": "Definitely doesn't come from a cow"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 4
|
|
}
|
|
]
|