Skip to content

Commit

Permalink
add deprecated notice to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Dec 4, 2024
1 parent 6873151 commit bd2e5af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion airbyte_cdk/sources/streams/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ def state_checkpoint_interval(self) -> Optional[int]:
def get_updated_state(
self, current_stream_state: MutableMapping[str, Any], latest_record: Mapping[str, Any]
) -> MutableMapping[str, Any]:
"""Override to extract state from the latest record. Needed to implement incremental sync.
"""DEPRECATED. Please use explicit state property instead, see `IncrementalMixin` docs.
Override to extract state from the latest record. Needed to implement incremental sync.
Inspects the latest record extracted from the data source and the current state object and return an updated state object.
Expand Down

0 comments on commit bd2e5af

Please sign in to comment.