Skip to content

Commit 8aff4b7

Browse files
committed
Read supports_checkpoints directly, as BackendOptions defaults it
1 parent 0dc34a5 commit 8aff4b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cloudquery/sdk/stateclient/stateclient.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def build(
4444
if not backend_options or not backend_options.table_name:
4545
return NoOpStateClient(backend_options=backend_options)
4646

47-
if not getattr(backend_options, "supports_checkpoints", False):
47+
if not backend_options.supports_checkpoints:
4848
checkpoints = None
4949
return ConnectedStateClient(
5050
backend_options=backend_options, checkpoints=checkpoints

0 commit comments

Comments
 (0)