Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ If you are migrating to version 3.0.0 or above from an earlier version, please c

If you are migrating to version 4.0.0 or above from an earlier version, please check the [V4 breaking changes details](./docs/V4_Breaking_Changes.md).

If you are migrating to version 5.0.0 or above from an earlier version, please check the [V5 breaking changes details](./docs/V5_Breaking_Changes.md).

## Usage

We support all the endpoints available in our API.
Expand Down
10 changes: 10 additions & 0 deletions docs/V5_Breaking_Changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# V5 breaking changes details

V5 removes the following fields from the Beam correlation results response;
* features
* phq_impact_sum
* phq_spend_sum
* phq_attendance_sum
* phq_rank_count

It is recommended to query features directly from [Features API](https://docs.predicthq.com/api/features/get-features)
5 changes: 0 additions & 5 deletions predicthq/endpoints/v1/beam/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@ class CorrelationResult(BaseModel):
remainder: Optional[float] = None
impact_significance: str
impact_significance_score: Optional[int] = None
features: dict
phq_impact_sum: int
phq_spend_sum: int
phq_attendance_sum: int
phq_rank_count: int


class CorrelationResultSet(BeamPaginationResultSet):
Expand Down
2 changes: 1 addition & 1 deletion predicthq/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.3.0"
__version__ = "5.0.0"