From 08fdc167f92e29109a2c53925971c7011ad48b42 Mon Sep 17 00:00:00 2001 From: rrakso Date: Fri, 12 Feb 2021 11:13:20 +0100 Subject: [PATCH] Typo fixed --- docs/extend/python.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/extend/python.md b/docs/extend/python.md index a2bf642..1eeea89 100644 --- a/docs/extend/python.md +++ b/docs/extend/python.md @@ -94,7 +94,7 @@ from inventree.stock import StockItem furniture = PartCategory.create(api, { 'name': 'Furniture', 'description': 'Chairs, tables, etc', - parent, 7 + 'parent': 7, }) ## Create a new Part @@ -113,7 +113,7 @@ item = StockItem.create(api, { 'part': couch.pk, 'quantity': 5, 'notes': 'A stack of couches', - location: 10, ## PK of a StockLocation already in the database... + 'location': 10, ## PK of a StockLocation already in the database... }) -``` \ No newline at end of file +```