The existing ion_hash() method enables computation of an Ion hash for any class that extends IonNature. However, simpleion allows callers to mix-and-match instances of Ion classes with Python's built-in types (string, dict, list, etc.).
Consider adding a standalone function that computes an Ion hash for any combination of Ion- and built-in types.
The existing
ion_hash()
method enables computation of an Ion hash for any class that extends IonNature. However, simpleion allows callers to mix-and-match instances of Ion classes with Python's built-in types (string, dict, list, etc.).Consider adding a standalone function that computes an Ion hash for any combination of Ion- and built-in types.