Changes between Version 2 and Version 3 of Ticket #35317, comment 4


Ignore:
Timestamp:
Mar 19, 2024, 7:34:25 PM (8 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35317, comment 4

    v2 v3  
    1111    )
    1212)
    13 predicate = lambda order: order.needs_to_consider_packing_problematic_zonings()
    14 problematic_zoning_orders = filter(predicate, orders)
     13problematic_zoning_predicate = lambda order: order.needs_to_consider_packing_problematic_zonings()
    1514prefetch_related_objects(
    16     problematic_zoning_orders,
     15    filter(problematic_zoning_predicate, orders),
    1716    Prefetch(
    1817        "packing_task__zonings",
Back to Top