mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 03:55:41 +00:00
PEP fix
This commit is contained in:
@ -409,7 +409,7 @@ def DownloadFile(data, filename, content_type='application/text', inline=False):
|
|||||||
def extract_serial_numbers(serials, expected_quantity, next_number: int):
|
def extract_serial_numbers(serials, expected_quantity, next_number: int):
|
||||||
"""
|
"""
|
||||||
Attempt to extract serial numbers from an input string:
|
Attempt to extract serial numbers from an input string:
|
||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
- Serial numbers can be either strings, or integers
|
- Serial numbers can be either strings, or integers
|
||||||
- Serial numbers can be split by whitespace / newline / commma chars
|
- Serial numbers can be split by whitespace / newline / commma chars
|
||||||
|
Reference in New Issue
Block a user