def jr_split(s):
    p = six.moves.urllib.parse.urlparse(s)
    return (
        normalize_url(six.moves.urllib.parse.urlunparse(p[:5]+('',))),
        '#'+p.fragment if p.fragment else '#'
    )
Adds a new mutation for an entity with a completed key.
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/utils.py/jr_split--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/datastore/batch.py/Batch._add_complete_key_entity_pb