Importing a Datoma object
This section shows how to import a saved Datoma object. If you haven’t seen how to export Datoma objects, please refer to Submitting a job.
In this example, we import previously saved DatomaJob and DatomaWorkflow objects.
# Make the necessary imports
from datoma import DatomaJob
from datoma import DatomaWorkflow
# Create objects from saved JSON files
job = DatomaJob(import_json = "path/to/file.json")
dw = DatomaWorkflow(import_json = "path/to/file.json")
# You can use the objects as usual
To see a more complex usage of datoma, refer to Leveraging Datoma’s potential.