Skip to content

Commit

Permalink
fixes #385 (#386)
Browse files Browse the repository at this point in the history
Co-authored-by: Cagtay Fabry <[email protected]>
  • Loading branch information
marscher and CagtayFabry authored Jul 4, 2021
1 parent 487eee9 commit 905e5e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weldx/asdf/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def dataclass_serialization_class(
A new asdf serialization class.
"""
v = version

def _noop(tree):
return tree
Expand All @@ -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
Expand Down

0 comments on commit 905e5e1

Please sign in to comment.