Skip to content

Commit

Permalink
Update batch_size_rows docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Feb 19, 2024
1 parent c247f82 commit e0b4425
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions singer_sdk/sinks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ def is_full(self) -> bool:

@property
def batch_size_rows(self) -> int | None:
"""Get batch_size_rows object.
"""The maximum number of rows a batch can accumulate before being processed.
Returns:
A batch_size_rows object.
The max number of rows or None if not set.
"""
return self._batch_size_rows

Expand All @@ -290,7 +290,7 @@ def max_size(self) -> int:
.. versionchanged:: 0.36.0
This property now takes into account the
:meth:`~singer_sdk.Sink.batch_size_rows` attribute and the corresponding
:attr:`~singer_sdk.Sink.batch_size_rows` attribute and the corresponding
``batch_size_rows`` target setting.
"""
return (
Expand Down

0 comments on commit e0b4425

Please sign in to comment.