Skip to content

Commit 43c5da2

Browse files
sdks/python: fix py docs formatting issues
1 parent 798468a commit 43c5da2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdks/python/apache_beam/ml/rag/ingestion/postgres_common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,16 @@ def with_sparse_embedding_spec(
318318
conv_fn: Optional[Callable[[Tuple[List[int], List[float]]], Any]] = None
319319
) -> 'ColumnSpecsBuilder':
320320
"""Add sparse embedding :class:`.ColumnSpec` with optional conversion.
321+
321322
Args:
322323
column_name: Name for the sparse embedding column
323324
(defaults to "sparse_embedding")
324325
conv_fn: Optional function to convert the sparse embedding tuple
325326
If None, converts to PostgreSQL-compatible JSON format
327+
326328
Returns:
327329
Self for method chaining
330+
328331
Example:
329332
>>> builder.with_sparse_embedding_spec(
330333
... column_name="sparse_vector",

0 commit comments

Comments
 (0)