mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 20:46:45 +00:00
text-splitters: Bump ruff version to 0.9 (#29231)
Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
committed by
GitHub
parent
a004dec119
commit
836c791829
@@ -197,7 +197,10 @@ class MarkdownHeaderTextSplitter:
|
||||
|
||||
if current_content:
|
||||
lines_with_metadata.append(
|
||||
{"content": "\n".join(current_content), "metadata": current_metadata}
|
||||
{
|
||||
"content": "\n".join(current_content),
|
||||
"metadata": current_metadata,
|
||||
}
|
||||
)
|
||||
|
||||
# lines_with_metadata has each line with associated header metadata
|
||||
|
Reference in New Issue
Block a user