mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Added docstring
This commit is contained in:
parent
5a234a1070
commit
9f70fff813
@ -51,6 +51,7 @@ def MakeBarcode(object_type, object_id, object_url, data={}):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
object_type: string describing the object type e.g. 'StockItem'
|
object_type: string describing the object type e.g. 'StockItem'
|
||||||
|
object_id: ID (Primary Key) of the object in the database
|
||||||
object_url: url for JSON API detail view of the object
|
object_url: url for JSON API detail view of the object
|
||||||
data: Python dict object containing extra datawhich will be rendered to string (must only contain stringable values)
|
data: Python dict object containing extra datawhich will be rendered to string (must only contain stringable values)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user