

def attach_entity(self, name=DEFAULT_ENTITY_NAME, attributes=None):
    'Attach an entity to the JSON representation.'
    if (not attributes):
        attributes = {
            
        }
    self.asset['entities'][name] = attributes

dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py JsonAsset.attach_entity/original