Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
Source· property

Source.spec

the serialized json spec describing this source

Python
spec -> str

Returns str — the serialized JSON spec (kind + config)

Example#

Python
from lsdtools import Source

Source.file("a.csv").spec        # → the JSON spec string stored in the project

Notes#

The spec captures the source kind plus its config, which is exactly what LSD persists in the project. For a step-bound Source, spec reads the bound step's source param; for a value built with file / sql / of, it returns that value's own spec. Read-only.

See also#

API: read · paths · of

Guides: Load steps

By LSD Team · Last updated Jul 17, 2026 Ask on Discord View as Markdown