diff --git a/python/podio/frame.py b/python/podio/frame.py index f3185512d..4b8bf85a8 100644 --- a/python/podio/frame.py +++ b/python/podio/frame.py @@ -110,6 +110,14 @@ def __init__(self, data=None): self._param_key_types = self._get_param_keys_types() + def getAvailableCollections(self): + """Get the currently available collection (names) from this Frame. + + Returns: + tuple(str): The names of the available collections from this Frame. + """ + return tuple(str(s) for s in self._frame.getAvailableCollections()) + @property def collections(self): """Get the currently available collection (names) from this Frame. @@ -117,7 +125,7 @@ def collections(self): Returns: tuple(str): The names of the available collections from this Frame. """ - return tuple(str(s) for s in self._frame.getAvailableCollections()) + return self.getAvailableCollections() def get(self, name): """Get a collection from the Frame by name.