def __init__(self, job_context, shard_state):
    self.job_context = job_context
    self.id = shard_state.shard_id
    self.number = shard_state.shard_number
    self.attempt = shard_state.retries + 1
    self._state = shard_state

  # TODO(user): standardize and document what format counter_name should take.
Replaces query parameters with those given in query_update, and updates the fragment.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/map_job_context.py/ShardContext.__init__--crossover with--dataset/ETHPy150Open mollyproject/mollyproject/molly/utils/http.py/update_url