Belle II Software development
HashableCut Class Reference
Inheritance diagram for HashableCut:

Public Member Functions

def __hash__ (self)
 

Detailed Description

Small helper class as the difflib does not understand dicts directly (as they are not hashable)

Definition at line 22 of file cli.py.

Member Function Documentation

◆ __hash__()

def __hash__ (   self)
Create a hash for the object out of the json string

Definition at line 25 of file cli.py.

25 def __hash__(self):
26 """Create a hash for the object out of the json string"""
27 return hash(json.dumps(self))
28
29

The documentation for this class was generated from the following file: