jupyter-naas / naas

Low-code Python library to safely use notebooks in production: schedule workflows, generate assets, trigger webhooks, send notifications, build pipelines, manage secrets (Cloud-only)
https://app.naas.ai/
GNU Affero General Public License v3.0
283 stars 25 forks source link

Naas Asset - Generate URL in production #343

Closed FlorentLvr closed 1 year ago

FlorentLvr commented 1 year ago

Issue: Naas Assets can only be generated from dev env so we are able to use it with a Scheduler. Target: Be able to generate a public URL from the production env.

jravenel commented 1 year ago

We shall implement logic to enable assets to be generated in prod using :

naas.asset.add(override_prod=True)

The current/default behavior is False

jravenel commented 1 year ago

Thanks @Dr0p42, @FlorentLvr can you test on your side before I contact users?