cf.Domain.del_file_location

Domain.del_file_location(location)[source]

Remove a file location in-place.

All data definitions that reference files will have references to files in the given location removed from them.

New in version 3.15.0.

Parameters
location: str

The file location to remove.

Returns
str

The removed location as an absolute path with no trailing path name component separator.

Examples

>>> d.del_file_location('/data/model/')
'/data/model'