Code review comment for lp:~jtv/maas/no-sets-across-rpc

Revision history for this message
Gavin Panella (allenap) wrote :

You could also do it by declaring a Set argument type:

class Set(amp.ListOf):
    def fromString(self, inString):
        objects = super(Set, amp.ListOf).fromString(inString)
        return set(objects)

« Back to merge proposal