Skip to content

Commit

Permalink
Add is_step to properties of Time Series that can be updated (#948)
Browse files Browse the repository at this point in the history
* Add is_step to properties of Time Series that can be updated
  • Loading branch information
haakonvt authored Jun 23, 2022
1 parent 0462b4e commit 82069d0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
18 changes: 11 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [2.56.1] - 2022-06-22
### Added
- Time series property `is_step` can now be updated.

## [2.56.0] - 2022-06-21
### Added
- added the diagrams API
Expand All @@ -36,11 +40,11 @@ Changes are grouped as follows
## [2.53.0] - 2022-06-16

### Added
- Annotations implementation, providing access to the corresponding [Annotations API](https://docs.cognite.com/api/v1/#tag/Annotations).
- Annotations implementation, providing access to the corresponding [Annotations API](https://docs.cognite.com/api/v1/#tag/Annotations).
- Added `Annotation`, `AnnotationFilter`, `AnnotationUpdate` dataclasses to `cognite.client.data_classes`
- Added `annotations` API to `cognite.client.CogniteClient`
- **Create** annotations with `client.annotations.create` passing `Annotation` instance(s)
- **Suggest** annotations with `client.annotations.suggest` passing `Annotation` instance(s)
- **Suggest** annotations with `client.annotations.suggest` passing `Annotation` instance(s)
- **Delete** annotations with `client.annotations.delete` passing the id(s) of annotation(s) to delete
- **Filter** annotations with `client.annotations.list` passing a `AnnotationFilter `dataclass instance or a filter `dict`
- **Update** annotations with `client.annotations.update` passing updated `Annotation` or `AnnotationUpdate` instance(s)
Expand All @@ -49,7 +53,7 @@ Changes are grouped as follows

## [2.52.0] - 2022-06-10
### Changed
- Reverted the optimizations introduced to datapoints fetching in 2.47.0 due to buggy implementation.
- Reverted the optimizations introduced to datapoints fetching in 2.47.0 due to buggy implementation.

## [2.51.0] - 2022-06-10
### Added
Expand All @@ -73,7 +77,7 @@ Changes are grouped as follows

## [2.49.0] - 2022-05-09
### Changed
- Geospatial: Support output selection for getting features by ids
- Geospatial: Support output selection for getting features by ids

## [2.48.0] - 2022-05-09
### Removed
Expand Down Expand Up @@ -105,8 +109,8 @@ Changes are grouped as follows

## [2.43.1] - 2022-03-24
### Added
- update pillow dependency 9.0.0 -> 9.0.1
- update pillow dependency 9.0.0 -> 9.0.1

## [2.43.0] - 2022-03-21
### Added
- new list parameters added to `transformations.list`.
Expand Down Expand Up @@ -177,7 +181,7 @@ Changes are grouped as follows

## [2.37.0] - 2021-11-30
### Added
- Added support for retrieving file download urls
- Added support for retrieving file download urls

## [2.36.0] - 2021-11-30
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion cognite/client/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "2.56.0"
__version__ = "2.56.1"
__api_subversion__ = "V20220125"
4 changes: 4 additions & 0 deletions cognite/client/data_classes/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ def asset_id(self):
def description(self):
return TimeSeriesUpdate._PrimitiveTimeSeriesUpdate(self, "description")

@property
def is_step(self):
return TimeSeriesUpdate._PrimitiveTimeSeriesUpdate(self, "isStep")

@property
def security_categories(self):
return TimeSeriesUpdate._ListTimeSeriesUpdate(self, "securityCategories")
Expand Down

0 comments on commit 82069d0

Please sign in to comment.