Skip to main content

artifacts

superduper.backends.mongodb.artifacts

Source code

upload_folder​

upload_folder(path,
file_id,
fs,
parent_path='')
ParameterDescription
pathThe path to the folder to upload
file_idThe file_id of the folder
fsThe GridFS object
parent_pathThe parent path of the folder

Upload folder to GridFS.

MongoArtifactStore​

MongoArtifactStore(self,
conn,
name: str)
ParameterDescription
connMongoDB client connection
nameName of database to host filesystem

Artifact store for MongoDB.