material.unassign_material - support batching #4474

This commit is contained in:
Andrej730
2024-04-12 16:15:14 +05:00
parent 59cc9c0a16
commit eb46de9658
9 changed files with 181 additions and 86 deletions
@@ -79,15 +79,14 @@ ARGUMENTS_DEPRECATION = {
"type.unassign_type": partial(
batching_argument_deprecation, prev_argument="related_object", new_argument="related_objects"
),
"system.assign_system": partial(
batching_argument_deprecation, prev_argument="product", new_argument="products"
),
"system.unassign_system": partial(
batching_argument_deprecation, prev_argument="product", new_argument="products"
),
"system.assign_system": partial(batching_argument_deprecation, prev_argument="product", new_argument="products"),
"system.unassign_system": partial(batching_argument_deprecation, prev_argument="product", new_argument="products"),
"material.assign_material": partial(
batching_argument_deprecation, prev_argument="product", new_argument="products"
),
"material.unassign_material": partial(
batching_argument_deprecation, prev_argument="product", new_argument="products"
),
}