Skip to content

Commit e7452ca

Browse files
committed
use uuid as representation of Reference type
1 parent 51f2a9b commit e7452ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/h5json/hdf5dtype.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def __init__(self, bind):
4646
self._id = getHashTagForId(bind)
4747

4848
def __repr__(self):
49-
# TBD: this is not consistent with hsds or h5py...
50-
return f"<HDF5 object reference: {self._id}>"
49+
# return canonical uuid
50+
return f"{self._id}"
5151

5252
def tolist(self):
5353
if type(self._id) is not str:

0 commit comments

Comments
 (0)