class documentation
class CheckpointModelForm(loggers.FormLoggerMixin, forms.ModelForm):
Form for creating a new CheckpointModel
instance.
Its main purpose is to override the default clean
method and extend it to check
for the validity of the provided paths to the config files. Aside from that it is
simply used like a normal forms.ModelForm
.
Check whether the config file paths exist.
After performing the standard, built-in cleaning, this mainly checks if the provided paths to the config files are valid. It does so by instantiating a DVCFileSystem and then looking inside the repo file system for the specified files.