Ensure that objects in the Pool has __slots__

issue10719
review375361002
This commit is contained in:
Cédric Krier committed 2021-09-23 23:12:35 +02:00
1 parent 9b672aaef7
commit 14e3f34ce2
1 file changed
+1
+1
View File
@@ -98,6 +98,7 @@ class Package(metaclass=PoolMeta):
class ShippingUPSMixin:
__slots__ = ()
def validate_packing_ups(self):
warehouse = self.shipping_warehouse