get_partial_contenthandler#

gwpy.io.ligolw.get_partial_contenthandler(
element: type[Element],
) type[PartialLIGOLWContentHandler][source]#

Build a PartialLIGOLWContentHandler to read only this element.

Parameters:
elementtype, subclass of Element

the element class to be read

Returns:
contenthandlertype

a subclass of PartialLIGOLWContentHandler to read only the given element