Skip to content

Commit

Permalink
version housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
ronpal committed Nov 6, 2024
1 parent 43aa319 commit cc09e88
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.


## [7.64.8] - 2024-11-06
### Fixed
- Made `compression` and `encoding` of hosted extractor job formats optional to conform with the API.


## [7.64.7] - 2024-11-04
### Fixed
- Set batch size to 10 for `create` and `update` of hosted extractor jobs, destinations, sources and mappings to avoid hitting the API limits.
Expand Down
2 changes: 1 addition & 1 deletion cognite/client/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations

__version__ = "7.64.7"
__version__ = "7.64.8"
__api_subversion__ = "20230101"
6 changes: 3 additions & 3 deletions cognite/client/data_classes/hosted_extractors/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class ValueFormat(JobFormat):
@classmethod
def _load_job(cls, resource: dict[str, Any]) -> ValueFormat:
return cls(
encoding=resource.get("encoding", None),
compression=resource.get("compression", None),
encoding=resource.get("encoding"),
compression=resource.get("compression", "gzip"),
prefix=Prefix._load(resource["prefix"]) if "prefix" in resource else None,
)

Expand All @@ -101,7 +101,7 @@ class RockwellFormat(JobFormat):
@classmethod
def _load_job(cls, resource: dict[str, Any]) -> RockwellFormat:
return cls(
encoding=resource.get("encoding", None),
encoding=resource.get("encoding"),
compression=resource.get("compression", "gzip"),
prefix=Prefix._load(resource["prefix"]) if "prefix" in resource else None,
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cognite-sdk"

version = "7.64.7"
version = "7.64.8"
description = "Cognite Python SDK"
readme = "README.md"
documentation = "https://cognite-sdk-python.readthedocs-hosted.com"
Expand Down

0 comments on commit cc09e88

Please sign in to comment.