All docs
Source·
method
Source.paths
returns the resolved file paths a source reads
Python
paths() -> list[str]
Returns list[str] — the resolved file paths, or [] for non-file sources
Example#
Python
from lsdtools import Source
Source.file(folder="data", patterns="*.csv").paths()
# → ['data/a.csv', 'data/b.csv']
Notes#
Only file sources resolve to paths; a sql source (or any kind that
does not read files) returns []. This is the resolved list — a folder + patterns source
is expanded to the files the glob currently matches.
See also#
Guides: Load steps
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown