Skip to content

Commit

Permalink
Use getAvailableCollections() instead of the deprecated .collections (#…
Browse files Browse the repository at this point in the history
…538)

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Jan 16, 2024
1 parent 276cdaa commit 7cb9c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/podio/base_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ def write_frame(self, frame, category, collections=None):
write. If None, all collections are written
"""
# pylint: disable-next=protected-access
self._writer.writeFrame(frame._frame, category, collections or frame.collections)
self._writer.writeFrame(frame._frame, category, collections or frame.getAvailableCollections())

0 comments on commit 7cb9c42

Please sign in to comment.