Directory
The Directory component recursively loads files from a directory, with options for file types, depth, and concurrency.
Files must be of a supported type and size to be loaded.
Outputs either a Data or DataFrame object, depending on the directory contents.
Directory parameters
Some parameters are hidden by default in the visual editor. You can modify all component parameters through the component inspection panel that appears when you select a component.
| Name | Type | Description |
|---|---|---|
| path | MessageTextInput | Input parameter. The path to the directory to load files from. Default: Current directory (.) |
| types | MessageTextInput | Input parameter. The file types to load. Select one or more, or leave empty to attempt to load all files. |
| depth | IntInput | Input parameter. The depth to search for files. |
| max_concurrency | IntInput | Input parameter. The maximum concurrency for loading multiple files. |
| load_hidden | BoolInput | Input parameter. If true, hidden files are loaded. |
| recursive | BoolInput | Input parameter. If true, the search is recursive. |
| silent_errors | BoolInput | Input parameter. If true, errors don't raise an exception. |
| use_multithreading | BoolInput | Input parameter. If true, multithreading is used. |