def removeInitData()

in core/actionProxy/owplatform/knative.py [0:0]


def removeInitData(body):
    def delIfPresent(d, key):
        if key in d:
            del d[key]
    if body and 'value' in body:
        delIfPresent(body['value'], 'code')
        delIfPresent(body['value'], 'main')
        delIfPresent(body['value'],'binary')
        delIfPresent(body['value'], 'raw')
        delIfPresent(body['value'], 'actionName')