def start_map(name, handler_spec, reader_spec, mapper_parameters, shard_count=_DEFAULT_SHARD_COUNT, output_writer_spec=None, mapreduce_parameters=None, base_path=None, queue_name=None, eta=None, countdown=None, hooks_class_name=None, _app=None, transactional=False, transactional_parent=None):
 if (not shard_count):
  shard_count = _DEFAULT_SHARD_COUNT
 if (base_path is None):
  base_path = base_handler._DEFAULT_BASE_PATH
 if mapper_parameters:
  mapper_parameters = dict(mapper_parameters)
 if mapreduce_parameters:
  mapreduce_parameters = dict(mapreduce_parameters)
 mapper_spec = model.MapperSpec(handler_spec, reader_spec, mapper_parameters, shard_count, output_writer_spec=output_writer_spec)
 if (transactional and (not transactional_parent)):
  logging.error('transactional_parent should be specified for transactional starts.Your job will fail to start if mapreduce specification is too big.')
 return handlers.StartJobHandler._start_map(name, mapper_spec, (mapreduce_parameters or {}), base_path=base_path, queue_name=queue_name, eta=eta, countdown=countdown, hooks_class_name=hooks_class_name, _app=_app, transactional=transactional, parent_entity=transactional_parent)

def start_map ( name , handler_spec , reader_spec , mapper_parameters , shard_count = _DEFAULT_SHARD_COUNT , output_writer_spec = None , mapreduce_parameters = None , base_path = None , queue_name = None , eta = None , countdown = None , hooks_class_name = None , _app = None , transactional = False , transactional_parent = None ) : if ( not shard_count ) : shard_count = _DEFAULT_SHARD_COUNT if ( base_path is None ) : base_path = base_handler . _DEFAULT_BASE_PATH if mapper_parameters : mapper_parameters = dict ( mapper_parameters ) if mapreduce_parameters : mapreduce_parameters = dict ( mapreduce_parameters ) mapper_spec = model . MapperSpec ( handler_spec , reader_spec , mapper_parameters , shard_count , output_writer_spec = output_writer_spec ) if ( transactional and ( not transactional_parent ) ) : logging . error ( 'transactional_parent should be specified for transactional starts.Your job will fail to start if mapreduce specification is too big.' ) return handlers . StartJobHandler . _start_map ( name , mapper_spec , ( mapreduce_parameters or { } ) , base_path = base_path , queue_name = queue_name , eta = eta , countdown = countdown , hooks_class_name = hooks_class_name , _app = _app , transactional = transactional , parent_entity = transactional_parent )
start a new .