PrimeFile
- class datarobot.models.PrimeFile(id=None, project_id=None, parent_model_id=None, model_id=None, ruleset_id=None, language=None, is_valid=None)
Represents an executable file available for download of the code for a DataRobot Prime model
- Attributes:
- idstr
the id of the PrimeFile
- project_idstr
the id of the project this PrimeFile belongs to
- parent_model_idstr
the model being approximated by this PrimeFile
- model_idstr
the prime model this file represents
- ruleset_idint
the ruleset being used in this PrimeFile
- languagestr
the language of the code in this file - see enums.LANGUAGE for possibilities
- is_validbool
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