def __init__(self, members=[]): self._collection_id = uuid.uuid4() self.members = becomes_list(members)
def __init__(self, members=[], keywords=[]): self._cluster_id = uuid.uuid4() ##need to change uuid to pymongo objectid self.members = becomes_list(members) self.keywords = becomes_list(keywords)