cf.Index.add_file_location¶
-
Index.
add_file_location
(location)[source]¶ Add a new file location in-place.
All data definitions that reference files are additionally referenced from the given location.
New in version 3.15.0.
See also
- Parameters
- location:
str
The new location.
- location:
- Returns
str
The new location as an absolute path with no trailing path name component separator.
Examples
>>> d.add_file_location('/data/model/') '/data/model'