(self)
return set(ace.group for ace in group_aces)
List what groups have acess to this sketch.

        Returns:
            Set of groups (instance of timesketch.models.user.Group)
List what groups have acess to this sketch.
List what groups have acess to this sketch .
def groups(self):
        """List what groups have acess to this sketch.

        Returns:
            Set of groups (instance of timesketch.models.user.Group)
        """
        # pylint: disable=singleton-comparison
        group_aces = self.AccessControlEntry.query.filter(
            not_(self.AccessControlEntry.group == None),
            self.AccessControlEntry.parent == self).all()
        return set(ace.group for ace in group_aces)
def groups ( self ) : # pylint: disable=singleton-comparison group_aces = self . AccessControlEntry . query . filter ( not_ ( self . AccessControlEntry . group == None ) , self . AccessControlEntry . parent == self ) . all ( ) return set ( ace . group for ace in group_aces )