pitrou commented on code in PR #14345:
URL: https://github.com/apache/arrow/pull/14345#discussion_r991315398
##########
dev/archery/archery/docker/core.py:
##########
@@ -417,3 +417,19 @@ def _push(service):
def images(self):
return sorted(self.config.hierarchy.keys())
+
+ def info(self, key_name, filters=None, prefix=' '):
+ output = []
+ for key, value in key_name.items():
+ if hasattr(value, 'items'):
+ temp_filters = filters
+ if key == filters or filters is None:
+ output.append(f'{prefix}- {key}')
+ # Keep showing this specific key
+ # as parent matched filter
+ temp_filters = None
+ output.extend(self.info(value, temp_filters, prefix + " "))
Review Comment:
Should probably use two spaces for better and more visible alignment?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]