Skip to content

Commit 844739e

Browse files
authored
fix: cleanup unnecessary options for examples (#1169)
1 parent ed4610d commit 844739e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

examples/text_embedding/main.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ def text_embedding_flow(
7171
metric=cocoindex.VectorSimilarityMetric.COSINE_SIMILARITY,
7272
)
7373
],
74-
attachments=[
75-
cocoindex.targets.PostgresSqlCommand(
76-
name="new_column_foo",
77-
setup_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS foo; ALTER TABLE TextEmbedding__doc_embeddings ADD COLUMN foo TEXT",
78-
teardown_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS foo",
79-
),
80-
cocoindex.targets.PostgresSqlCommand(
81-
name="new_column_bar",
82-
setup_sql="ALTER TABLE TextEmbedding__doc_embeddings ADD COLUMN bar TEXT",
83-
teardown_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS bar",
84-
),
85-
],
8674
)
8775

8876

0 commit comments

Comments
 (0)