def createGroup(self, name, creator, description='', public=True):
        assert isinstance(public, bool)

        now = datetime.datetime.utcnow()

        group = {
            'name': name,
            'description': description,
            'creatorId': creator['_id'],
            'created': now,
            'updated': now,
            'requests': []
        }

        self.setPublic(group, public, save=False)

        return self.save(group)
Create a new group. The creator will be given admin access to it.
dataset/ETHPy150Open girder/girder/girder/models/group.py/Group.createGroup