Closed jzf2101 closed 3 years ago
I'm out and about, but I think you can solve this by creating a backblaze account and then following the b2sdk docs to auth the library. I thought it'd work without a backblaze account, but apparently not
Incidentally if you're building upon this work, give me an email and we'll have a chat. I'm keen to help! me@andyljones.com
I think you can solve this by creating a backblaze account and then following the b2sdk docs to auth the library. I thought it'd work without a backblaze account, but apparently not
My guess is that other users may not yet have access to the bucket because I get a NonExistentBucket: No such bucket: boardlaw
error when I include my credentials
Right! Turns out I ran into this problem while proofing the release, and then... never updated the docs. Sorry for the red herring! Fix is to use the open credentials I included in the backup
module, a la
from boardlaw import backup
import sys
import time
run = '2021-03-26 15-30-17 harsh-wait'
dest = 'local_storage'
bucket = 'boardlaw'
api = backup.api(bucket)
syncer = b2.Synchronizer(4)
with b2.SyncReport(sys.stdout, False) as reporter:
syncer.sync_folders(
source_folder=b2.parse_sync_folder(f'b2://boardlaw/output/pavlov/{run}', api),
dest_folder=b2.parse_sync_folder(f'{run}', api),
now_millis=int(round(time.time() * 1000)),
reporter=reporter)
I've updated the docs to match.
Hi! The example code provided in the docs does not return training data, which suggests there may be some missing information in accessing the database? Thanks!
Returns: