class documentation

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.

Class Meta Meta class for the form.
Method clean Check whether the config file paths exist.
def clean(self) -> dict[str, Any]: ΒΆ

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.