in pystemd/base.py [0:0]
def get_introspect_xml(self):
with self.bus_context() as bus:
xml_doc = etree.fromstring(
bus.call_method(
self.destination,
self.path,
b"org.freedesktop.DBus.Introspectable",
b"Introspect",
[],
).body
)
return xml_doc