https://www.youtube.com/watch?v=z8sTjIiZphM

Add

Copy in production this current file as an asset (file) and allow yourself to get it by calling the returned URL.

naas.asset.add()

You will get URL who downloads this current file when you open it.

screenshot-add-asset

Other files

If you want to add another file than the current one, give a path:

naas.asset.add("path/to/my/super/data.csv")

Parameters

inline : Get a response in your web browser instead of downloading the result.

params = {"inline": True}

naas.asset.add(params=params)

Debug

naas.asset.add(debug=True)

Find

You can find url of a file pushed into the production:

Current file

url = naas.asset.find()

Other files

url = naas.asset.find(path="path/to/my/super/notebook.ipynb")