

def set_property(self, name, value):
    "Set a property on the document.\n\n        If there is no property with the name in ``name``, a new property is\n        created with the name from ``name`` and the value from ``value``. If\n        the document already has a property with that name, it's value\n        is replaced with the value in ``value``.\n\n        This method returns self, allowing it to be chained with additional\n        method calls.\n\n        WARNING: ``name`` should not be one of the reserved property\n        names (``'_links'`` or ``'_embedded'``). If ``name`` is ``'_links'`` or\n        ``'_embedded'``, this method may silently corrupt the JSON object\n        representation and cause undefined behaviour later.\n\n        "
    self.o[name] = value
    return name

dataset/ETHPy150Open wharris/dougrain/dougrain/builder.py Builder.set_property/VarMisuse@26/286 `self`->`name`