Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkozakov authored Dec 1, 2024
1 parent 1fe468a commit 67106f7
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ Example:
```python
docs = [
{
"Title":"How to fix a dishwasher"
"Author":"John Smith"
"Date":"August 1st 2023"
"Title": "How to fix a dishwasher",
"Author": "John Smith",
"Date": "August 1st 2023",
"Content": "Fixing a dishwasher depends on the specific problem you're facing. Here are some common issues and their potential solutions:...."
},
{
"Title":"How to fix a leaky sink"
"Date":"July 25th 2024"
"Title": "How to fix a leaky sink",
"Date": "July 25th 2024",
"Content": "Fixing a leaky sink will depend on the source of the leak. Here are general steps you can take to address common types of sink leaks:....."
},.....
}
]

yaml_docs = [yaml.dump(doc, sort_keys=False) for doc in docs]
Expand Down

0 comments on commit 67106f7

Please sign in to comment.