We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1919dbc commit 3dd885fCopy full SHA for 3dd885f
1 file changed
Common/Python/DataConsolidatorPythonWrapper.cs
@@ -112,5 +112,22 @@ public void Dispose()
112
{
113
_pythonWrapper.Dispose();
114
}
115
+
116
+ /// <summary>
117
+ /// Two wrappers are equal if they wrap the same Python object reference.
118
+ /// </summary>
119
+ public override bool Equals(object obj)
120
+ {
121
+ if (obj is DataConsolidatorPythonWrapper other)
122
123
+ return _pythonWrapper.Equals(other._pythonWrapper);
124
+ }
125
+ return _pythonWrapper.Equals(obj);
126
127
128
129
+ /// Hash code based on the underlying Python object reference.
130
131
+ public override int GetHashCode() => _pythonWrapper.GetHashCode();
132
133
0 commit comments