intelematics / bricklayer

common libs for commonly used python modules in Databricks
Apache License 2.0
10 stars 5 forks source link

DBSApi.backup_notebook had hardcoded path. #19

Closed jujaro closed 3 years ago

jujaro commented 3 years ago
from bricklayer.api import DBSApi, get_notebook_context
dbapi = DBSApi()
dbapi.backup_notebook(
    get_notebook_context().get_notebook_path(),
    '/Shared/backups/2021_09_02/mynoteboo3k',
)
FileNotFoundError: [Errno 2] No such file or directory: '/dbfs/tmp/backup'
stephanie-mak commented 3 years ago

fixed in https://github.com/intelematics/bricklayer/pull/23