maproulette/taskcollection.py
def create(self, server):
        """Create the tasks on the server"""
        for chunk in self.__cut_to_size():
            server.post(
                'tasks_admin',
                chunk.as_payload(),
                replacements={
                    'slug': chunk.challenge.slug})
def create(self, server):
        """Create the tasks on the server"""
        for chunk in self.__cut_to_size():
            server.post(
                'tasks_admin',
                chunk.as_payload(),
                replacements={
                    'slug': chunk.challenge.slug})
def create ( self , server ) : for chunk in self . __cut_to_size ( ) : server . post ( 'tasks_admin' , chunk . as_payload ( ) , replacements = { 'slug' : chunk . challenge . slug } )
Create the tasks on the server
Create the tasks on the server