Prime files

class datarobot.models.PrimeFile

Represents an executable file available for download of the code for a DataRobot Prime model

Variables:
  • id (str) – the id of the PrimeFile

  • project_id (str) – the id of the project this PrimeFile belongs to

  • parent_model_id (str) – the model being approximated by this PrimeFile

  • model_id (str) – the prime model this file represents

  • ruleset_id (int) – the ruleset being used in this PrimeFile

  • language (str) – the language of the code in this file - see enums.LANGUAGE for possibilities

  • is_valid (bool) – whether the code passed basic validation

download(filepath)

Download the code and save it to a file

Parameters:

filepath (string) – the location to save the file to

Return type:

None