import abjad


class Glissando(abjad.Glissando):

    def _attachment_test(self, component):
        return isinstance(component, abjad.Leaf)

    def _attachment_test_all(self, component_expression):
        return True

Add Glissando without attachment test.