Links

Asset demo

Tags: #naas #asset #snippet #operations
Author: Jeremy Ravenel
Read the doc on https://naas.gitbook.io/naas/features/asset
Build notebooks that can communicate with third parties applications and run remotely.

Input

Import library

import naas

Setup Naas

# Add the path of the document you want to share (don't forget to put the extension)
PATH = "PATH_OF_YOUR_DOCUMENT.png"

Model

Add your asset

url = naas.asset.add(PATH)
# To delete your asset, uncomment the line below and execute this cell
# naas.asset.delete(PATH)

Output

Display result

url