From ad7d88a6f4f15c9552522131c4e207256fc2bbf6 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 7 Jan 2024 19:59:45 +0100 Subject: [PATCH] auto fixed docstring --- InvenTree/part/stocktake.py | 2 +- InvenTree/plugin/base/label/mixins.py | 2 +- InvenTree/plugins/__init__.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/InvenTree/part/stocktake.py b/InvenTree/part/stocktake.py index b889b11474..7ccd6cd185 100644 --- a/InvenTree/part/stocktake.py +++ b/InvenTree/part/stocktake.py @@ -24,7 +24,7 @@ logger = logging.getLogger('inventree') def perform_stocktake(target: part.models.Part, user: User, note: str = '', commit=True, **kwargs): """Perform stocktake action on a single part. - arguments: + Arguments: target: A single Part model instance commit: If True (default) save the result to the database user: User who requested this stocktake diff --git a/InvenTree/plugin/base/label/mixins.py b/InvenTree/plugin/base/label/mixins.py index fe4aa1607f..56194c29a4 100644 --- a/InvenTree/plugin/base/label/mixins.py +++ b/InvenTree/plugin/base/label/mixins.py @@ -82,7 +82,7 @@ class LabelPrintingMixin: items: The list of database items to print (e.g. StockItem instances) request: The HTTP request object which triggered this print job - Keyword arguments: + Keyword Arguments: printing_options: The printing options set for this print job defined in the PrintingOptionsSerializer Returns: diff --git a/InvenTree/plugins/__init__.py b/InvenTree/plugins/__init__.py index 997ae5addf..47a9b3c42c 100644 --- a/InvenTree/plugins/__init__.py +++ b/InvenTree/plugins/__init__.py @@ -1,5 +1,4 @@ -""" -Directory for custom plugin development. +"""Directory for custom plugin development. Please read the docs for more information https://docs.inventree.org/en/latest/extend/plugins/#local-directory """