bug fix #171 master is running locally again

This commit is contained in:
Luis Aleixo 2021-07-02 14:41:13 +02:00
parent 008daf8812
commit 0b463453ff

View file

@ -96,7 +96,7 @@ def _build_mc_model(model: _ModelType) -> typing.Type[MCModelBase[_ModelType]]:
cls = dataclasses.make_dataclass(
model.__name__, # type: ignore
fields, # type: ignore
bases=bases, # type: ignore
bases=tuple(bases), # type: ignore
namespace={'_base_cls': model},
# This thing can be mutable - the calculations live on
# the wrapped class, not on the MCModelBase.