pysepal.sepalwidgets.file_input.FileDetails#
- class pysepal.sepalwidgets.file_input.FileDetails(*, name, path, type, size, modified_time=0.0)[source]#
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Attributes
model_configConfiguration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
namepathtypesizemodified_timeMethods
- Parameters:
name (str)
path (str)
type (Literal['directory', 'file', 'symlink'])
size (int)
modified_time (float | None)