Skip to content

Commit

Permalink
Update 'timdex_object_hash' to correctly include class name
Browse files Browse the repository at this point in the history
  • Loading branch information
jonavellecuerdo committed Aug 15, 2024
1 parent f81475b commit 0448d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transmogrifier/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def timdex_object_hash(timdex_object: Any) -> int: # noqa: ANN401
By making TIMDEX objects hashable, dedupe methods
can be applied to a list of TIMDEX objects.
"""
values = tuple(type(timdex_object).__name__)
values = (timdex_object.__class__.__name__,)
values += tuple(
[
tuple(attrib) if isinstance(attrib, list) else attrib
Expand Down

0 comments on commit 0448d3b

Please sign in to comment.