Home
last modified time | relevance | path

Searched refs:default_factory (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/api/map_job/
Dmap_job_config.py39 job_id = _Option(basestring, default_factory=util._get_descending_key)
49 input_reader_params = _Option(dict, default_factory=lambda: {})
57 output_writer_params = _Option(dict, default_factory=lambda: {})
63 default_factory=lambda: parameters.config.SHARD_COUNT)
66 user_params = _Option(dict, default_factory=lambda: {})
70 basestring, default_factory=lambda: parameters.config.QUEUE_NAME)
74 int, default_factory=lambda: parameters.config.SHARD_MAX_ATTEMPTS)
81 _force_writes = _Option(bool, default_factory=lambda: False)
84 default_factory=lambda: parameters.config.BASE_PATH)
87 int, default_factory=lambda: parameters.config.TASK_MAX_ATTEMPTS)
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dparameters.py82 def __init__(self, kind, required=False, default_factory=None, argument
95 if required and default_factory is not None:
99 self.default_factory = default_factory
132 if v is None and option.default_factory:
133 v = option.default_factory()
/external/chromium-trace/catapult/third_party/Paste/paste/
Dwsgiwrappers.py46 def __init__(self, key, default='', default_factory=None): argument
49 self.default_factory = default_factory
54 if self.default_factory:
55 val = obj.environ[self.key] = self.default_factory()