Skip to content

Commit

Permalink
set slo_id as the primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Mar 13, 2024
1 parent a121259 commit 2e56704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_datadog/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SLOStream(DatadogStream):
"""Define custom stream."""

path = "slo/{id}/history"
primary_keys: t.ClassVar[list[str]] = ["id"]
primary_keys: t.ClassVar[list[str]] = ["slo_id"]
replication_key = None
# Optionally, you may also use `schema_filepath` in place of `schema`:
# schema_filepath = SCHEMAS_DIR / "users.json" # noqa: ERA001
Expand Down

0 comments on commit 2e56704

Please sign in to comment.