From 82e7392b17f7d63f58a2745d00555bb8e479cf18 Mon Sep 17 00:00:00 2001 From: protolambda Date: Sat, 15 Jun 2019 21:13:01 +0200 Subject: [PATCH] default method for container is recognized now --- test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py b/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py index 6f578796d..7cf44f6b3 100644 --- a/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py +++ b/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py @@ -73,7 +73,7 @@ class uint256(uint): # Note: importing ssz functionality locally, to avoid import loop -class Container(object): +class Container(object, metaclass=DefaultingTypeMeta): def __init__(self, **kwargs): cls = self.__class__