Skip to content

Commit

Permalink
adding missing import (#8435)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsbatista authored Oct 2, 2024
1 parent bdc6b2e commit 3b9a60b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions haystack/components/converters/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class MarkdownToDocument:
Usage example:
```python
from haystack.components.converters import MarkdownToDocument
from datetime import datetime
converter = MarkdownToDocument()
results = converter.run(sources=["path/to/sample.md"], meta={"date_added": datetime.now().isoformat()})
Expand Down

0 comments on commit 3b9a60b

Please sign in to comment.