cf.DomainAncillary.del_file_location

DomainAncillary.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

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