diff --git a/CHANGELOG.md b/CHANGELOG.md index 4399ba83..54e4670c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ Changes are grouped as follows - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. +## 7.5.3 + +### Fixed + + * Revert change in 7.5.2, the root cause is a different issue. + ## 7.5.2 ### Fixed diff --git a/cognite/extractorutils/__init__.py b/cognite/extractorutils/__init__.py index c848e077..cd17fb0a 100644 --- a/cognite/extractorutils/__init__.py +++ b/cognite/extractorutils/__init__.py @@ -16,5 +16,5 @@ Cognite extractor utils is a Python package that simplifies the development of new extractors. """ -__version__ = "7.5.2" +__version__ = "7.5.3" from .base import Extractor diff --git a/cognite/extractorutils/uploader/files.py b/cognite/extractorutils/uploader/files.py index f310538f..7fb25d3a 100644 --- a/cognite/extractorutils/uploader/files.py +++ b/cognite/extractorutils/uploader/files.py @@ -267,8 +267,6 @@ def _upload_empty( diff = attr - basic_attributes if len(diff) >= 1 and "externalId" in attr: - # Don't change the mime type, updating mime type always fails. - file_meta.mime_type = None file_meta_response = self.cdf_client.files.update(file_meta) return file_meta_response, url diff --git a/pyproject.toml b/pyproject.toml index 374d2e31..c1b9a801 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cognite-extractor-utils" -version = "7.5.2" +version = "7.5.3" description = "Utilities for easier development of extractors for CDF" authors = ["Mathias Lohne "] license = "Apache-2.0"