2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

PEP style fixes

This commit is contained in:
Oliver
2022-02-15 13:30:14 +11:00
parent 09853fd3df
commit 2b344f1f25
3 changed files with 5 additions and 8 deletions

View File

@ -285,9 +285,9 @@ class BuildOutputCreateSerializer(serializers.Serializer):
"""
Generate the new build output(s)
"""
data = self.validated_data
quantity = data['quantity']
batch_code = data.get('batch_code', '')
auto_allocate = data.get('auto_allocate', False)