Data Designer SDK Resources
The data_designer.config module provides a consistent, context-agnostic experience for building Data Designer configs.
Once you are ready to execute that config through NeMo Services APIs, you use objects from the nemo_platform SDK.
This page explains the SDK objects used for Data Designer API execution.
DataDesignerResource
The DataDesignerResource is the initial SDK object for working with Data Designer through the SDK.
It provides Data Designer API preview and create operations for Data Designer configurations.
A DataDesignerResource is accessed directly from a NeMoPlatform instance:
The DataDesignerResource is primarily used to make Data Designer API preview requests (preview) and create jobs (create),
but exposes some additional useful methods:
Validating a config
validate() runs the same checks preview() and create() perform internally, but never short-circuits — every detectable problem appears in one report. Use it to catch configuration errors before submitting work.
The workspace keyword argument selects the workspace used to resolve provider references and seed sources. It falls back to the platform client’s workspace, then to "default".
ValidationReport
validate() returns a ValidationReport describing what the checks found.
DataDesignerJobResource
The DataDesignerJobResource provides several helper methods for working with a job.
It is returned by the DataDesignerResource.create() method when you create a job;
you can also use DataDesignerResource.get_job_resource() to get an instance of this object for an existing job.
Some of the most useful methods are described below.
DataDesignerJobResults
The DataDesignerJobResults object simplifies loading downloaded job results into memory.