Skip to content

Commit

Permalink
Add missing Raises: to is_timestamp_replication_key docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mjsqu authored Aug 27, 2023
1 parent 4ddf1c8 commit 89ddbb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions singer_sdk/streams/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ def is_timestamp_replication_key(self) -> bool:
Returns:
True if the stream uses a timestamp-based replication key.
Raises:
InvalidReplicationKeyException: If the schema does not contain the replication key.
"""
if not self.replication_key:
return False
Expand Down

0 comments on commit 89ddbb1

Please sign in to comment.