blog/app/routes.py
def update_asset(asset_type, asset_oid):
    """ Pulls the asset, calls the update method. """
    asset_object = models.get_asset(asset_type, ObjectId(asset_oid))
    asset_object.update()
    return flask.Response(
        response=json.dumps(asset_object.serialize(), default=json_util.default),
        status=200,
        mimetype='application/json',
    )
 Pulls the asset, calls the update method. 
Pulls the asset, calls the update method.
Pulls the asset calls the update method .
def update_asset(asset_type, asset_oid):
    asset_object = models.get_asset(asset_type, ObjectId(asset_oid))
    asset_object.update()
    return flask.Response(
        response=json.dumps(asset_object.serialize(), default=json_util.default),
        status=200,
        mimetype='application/json',
    )
def update_asset ( asset_type , asset_oid ) : asset_object = models . get_asset ( asset_type , ObjectId ( asset_oid ) ) asset_object . update ( ) return flask . Response ( response = json . dumps ( asset_object . serialize ( ) , default = json_util . default ) , status = 200 , mimetype = 'application/json' , )
Pulls the asset, calls the update method.
Pulls the asset calls the update method .
""" Pulls the asset, calls the update method. """
asset_type
asset_oid