diff --git a/weldx/asdf/util.py b/weldx/asdf/util.py index b8a3b0faf..de667fd3f 100644 --- a/weldx/asdf/util.py +++ b/weldx/asdf/util.py @@ -321,6 +321,7 @@ def dataclass_serialization_class( A new asdf serialization class. """ + v = version def _noop(tree): return tree @@ -332,7 +333,7 @@ def _noop(tree): class _SerializationClass(WeldxType): name = class_name - version = "1.0.0" + version = v types = [class_type] requires = ["weldx"] handle_dynamic_subclasses = True