Closed wolflu05 closed 1 year ago
Name | Stmts | Miss | Cover | Missing | |
---|---|---|---|---|---|
inventree_bulk_plugin/BulkGenerator/BulkGenerator.py | 148 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/dimensions.py | 66 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/generators/gen_alpha.py | 36 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/generators/gen_numeric.py | 14 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/generators/generator.py | 33 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/template.py | 10 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/utils.py | 9 | 0 | 100% | ||
inventree_bulk_plugin/BulkGenerator/validations.py | 53 | 0 | 100% | ||
inventree_bulk_plugin/InvenTreeBulkPlugin.py | 23 | 0 | 100% | ||
inventree_bulk_plugin/api.py | 62 | 0 | 100% | ||
inventree_bulk_plugin/bulkcreate_objects.py | 59 | 0 | 100% | ||
inventree_bulk_plugin/migrations/0001_initial.py | 6 | 0 | 100% | ||
inventree_bulk_plugin/models.py | 21 | 0 | 100% | ||
inventree_bulk_plugin/serializers.py | 22 | 0 | 100% | ||
inventree_bulk_plugin/version.py | 1 | 0 | 100% | ||
TOTAL | 563 | 0 | 100% |
This PR refactors the API to use a generic endpoint for bulk creation. It also refactors to use the more readable drf views to simplify code.
TODO