sql_loader
SqlLoader
Bases: BaseLoader[str, list[RowResult], ListArtifact[TextArtifact]]
SqlLoader
Bases: BaseLoader[str, list[RowResult], ListArtifact[TextArtifact]]
griptape/loaders/sql_loader.py
formatter_fn: Callable[[dict], str] = field(default=lambda value: '\n'.join(f'{key}: {val}' for (key, val) in value.items()), kw_only=True)
class-attribute
instance-attribute
sql_driver: BaseSqlDriver = field(kw_only=True)
class-attribute
instance-attribute
fetch(source)