Skip to content

Commit 8da2e7a

Browse files
authored
fix: format (#1067)
1 parent 6cff465 commit 8da2e7a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

examples/code_embedding/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def code_embedding_flow(
4545
"""
4646
data_scope["files"] = flow_builder.add_source(
4747
cocoindex.sources.LocalFile(
48-
path=os.path.join('..', '..'),
48+
path=os.path.join("..", ".."),
4949
included_patterns=["*.py", "*.rs", "*.toml", "*.md", "*.mdx"],
5050
excluded_patterns=["**/.*", "target", "**/node_modules"],
5151
)

examples/docs_to_knowledge_graph/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ def docs_to_kg_flow(
6767
"""
6868
data_scope["documents"] = flow_builder.add_source(
6969
cocoindex.sources.LocalFile(
70-
path=os.path.join('..', '..','docs','docs','core'), included_patterns=["*.md", "*.mdx"]
70+
path=os.path.join("..", "..", "docs", "docs", "core"),
71+
included_patterns=["*.md", "*.mdx"],
7172
)
7273
)
7374

examples/patient_intake_extraction/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ def patient_intake_extraction_flow(
118118
Define a flow that extracts patient information from intake forms.
119119
"""
120120
data_scope["documents"] = flow_builder.add_source(
121-
cocoindex.sources.LocalFile(path=os.path.join('data', 'patient_forms'), binary=True)
121+
cocoindex.sources.LocalFile(
122+
path=os.path.join("data", "patient_forms"), binary=True
123+
)
122124
)
123125

124126
patients_index = data_scope.add_collector()

0 commit comments

Comments
 (0)