

def _get_content(item, base_url=None):
    '\n    Return a dictionary of content, for documents, objects and errors.\n    '
    return {_unescape_key(key): _primative_to_document(value, base_url) for (key, value) in item.items() if (key not in ('_type', '_meta'))}

dataset/ETHPy150Open core-api/python-client/coreapi/codecs/corejson.py _get_content/original