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 PrimeFileproject_id (
str
) – the id of the project this PrimeFile belongs toparent_model_id (
str
) – the model being approximated by this PrimeFilemodel_id (
str
) – the prime model this file representsruleset_id (
int
) – the ruleset being used in this PrimeFilelanguage (
str
) – the language of the code in this file - see enums.LANGUAGE for possibilitiesis_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