Skip to content

Commit

Permalink
skip unhashable globals by default
Browse files Browse the repository at this point in the history
  • Loading branch information
amakelov committed Aug 21, 2024
1 parent fb5bfd2 commit d43e302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mandala/deps/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def representation(self) -> Tuple[str, str]:
return self._representation

@staticmethod
def represent(obj: Any, allow_fallback: bool = False) -> Tuple[str, str]:
def represent(obj: Any, allow_fallback: bool = True) -> Tuple[str, str]:
"""
Return a hash of this global variable's value + a truncated
representation useful for debugging/printing.
Expand Down

0 comments on commit d43e302

Please sign in to comment.