GuidesRecipesAPI ReferenceChangelogDiscussions
Log In

Submit a job using NetApp StorageGRID files as inputs, version, sources, access_key_id, secret_access_key, endpoint, explain=False)

Submit a job with data files stored in NetApp StorageGRID buckets, the sources dictionary is a double dict structure as follows:

  '<<<<input-item-key>>>>': {
    '<<<<data-input-item-key>>>>: {
      'bucket': '<<netapp_storagegrid_bucket>>',
      'key': '<<nettapp_storagegrid_file_key>>'


<<<<input-item-key>>>>: are user defined keys to identify the input items.
<<<<data-input-item-key>>>>: are model defined keys (usually file names).


Model identifier provided by Modzy or a model object previusly loaded.'ed542963de'
versionstrThe model’s version number. It follows the semantic versioning format.'1.0.1'
sourcesdictA mapping of source names to data sources. Each source should be a mapping of model input filename to StorageGRID bucket name and key.'{'my-input': {'input.txt': {'bucket': 'some_bucket', 'key': 'some_key.txt'}}}'
access_key_idstrThe StorageGRID Access Key ID'SomeAccessKey
secret_access_keystrThe StorageGRID Secret Access Key'SomeSecretAccessKey
endpointstrURL of StorageGRID instance'<>
explainboolIf the model supports explainability, flag this job to return an explanation of the predictionsTrue


A Job object with the status from the server

  "job_identifier": "string",
  "account_identifier": "string",        
  "explain": "boolean",        
  "created_at": "date-time",
  "updated_at": "date-time",
  "submitted_at": "date-time",
  "submitted_by": "string",        
  "pending": "integer",
  "completed": "integer",    
  "failed": "integer",
  "total": "integer",    
  "model": {
    "identifier": "string",
    "version": "string",
    "name": "string"
  "job_inputs": ["string"],
  "user": {
    "identifier": "string",
    "external_identifier": "string",
    "email": "string",
    "firstName": "string",      
    "lastName": "string",
    "status": "string",
    "title": "string"
    "access_keys": [
    		"prefix": "string",
        "is_default": "boolean"


>>>sources = {'my-input': {'input.txt': {'bucket': 'some-bucket', 'key': 'some_key.txt'}}}
>>>job ='ed542963de', '0.0.27', sources, 'access_key', 'secret_access_awkey', '')