Closed wolflu05 closed 1 year ago
Name | Stmts | Miss | Cover | Missing | |
---|---|---|---|---|---|
inventree_bulk/BulkActionPlugin.py | 118 | 0 | 100% | ||
inventree_bulk/BulkGenerator/BulkGenerator.py | 85 | 0 | 100% | ||
inventree_bulk/BulkGenerator/dimensions.py | 66 | 0 | 100% | ||
inventree_bulk/BulkGenerator/generators/gen_alpha.py | 36 | 0 | 100% | ||
inventree_bulk/BulkGenerator/generators/gen_numeric.py | 14 | 0 | 100% | ||
inventree_bulk/BulkGenerator/generators/generator.py | 33 | 0 | 100% | ||
inventree_bulk/BulkGenerator/validations.py | 24 | 0 | 100% | ||
inventree_bulk/migrations/0001_initial.py | 6 | 0 | 100% | ||
inventree_bulk/models.py | 21 | 0 | 100% | ||
inventree_bulk/version.py | 1 | 0 | 100% | ||
TOTAL | 404 | 0 | 100% |
This PR refactors the generators into own classes and adds the ability to have multiple generators in one dimension.
⚠️ Breaking
Infinity generators now need a
*
before their name and theALPHA_*
generators were renamed toALPHA
with acasing=lower
parameter.Migration:
NUMERIC
->*NUMERIC
ALPHA_LOWER
->*ALPHA{casing=lower}
ALPHA_UPPER
->*ALPHA{casing=upper}
Todo
Fixes
fixes #4