fix: throw no exception if print before finalize
This commit is contained in:
@@ -150,7 +150,8 @@ class GroupBySource(VirtualSourceObject):
|
|||||||
|
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
return '<GroupBySource path="{}" children={}>'.format(
|
return '<GroupBySource path="{}" children={}>'.format(
|
||||||
self.path, self.children.count())
|
self.path,
|
||||||
|
self.children.count() if hasattr(self, 'children') else '?')
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------
|
# -----------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user