mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-20 12:20:29 +08:00
ENH: Adds repr for datasets
This commit is contained in:
@@ -115,6 +115,9 @@ class DataSetMeta(type):
|
||||
def __lt__(self, other):
|
||||
return id(self) < id(other)
|
||||
|
||||
def __repr__(self):
|
||||
return '<DataSet: %r>' % self.__name__
|
||||
|
||||
|
||||
class DataSet(with_metaclass(DataSetMeta)):
|
||||
domain = None
|
||||
|
||||
Reference in New Issue
Block a user