Skip to content

feat: extract markdown headings example using daft.File#34

Merged
everettVT merged 1 commit into
mainfrom
everettVT/files-extract-headings-example
Apr 20, 2026
Merged

feat: extract markdown headings example using daft.File#34
everettVT merged 1 commit into
mainfrom
everettVT/files-extract-headings-example

Conversation

@everettVT
Copy link
Copy Markdown
Contributor

Summary

  • Adds examples/files/daft_file_markdown.py — uses daft.from_files() + @daft.func with Iterator[TypedDict] return type to extract headings from markdown files
  • Registers the example in tests/registry.py

Test Plan

  • uv run examples/files/daft_file_markdown.py runs successfully
  • pytest tests/test_examples.py -k file_markdown passes

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@everettVT everettVT merged commit e8152d8 into main Apr 20, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant