Data
Data source abstractions and implementations.
This section documents the data-source API used by data-driven widgets and utilities. If you're building a custom data source, start with the protocol/base types.
See the DataSource Guide for usage examples and patterns.
Core types
- DataSourceProtocol: expected interface
- BaseDataSource: base implementation with hooks
Implementations
- MemoryDataSource: in-memory storage
- SqliteDataSource: SQLite-backed persistence
- FileDataSource: CSV, JSON, JSONL file loading
- FileSourceConfig: configuration for file-backed sources