Skip to content

Commit fd4b8ef

Browse files
committed
Removed is_uploaded manual updation
1 parent 3e215b7 commit fd4b8ef

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ Changes are grouped as follows
1313
- `Security` in case of vulnerabilities.
1414

1515

16+
## 7.11.0
17+
18+
### Fixed
19+
20+
* Removed manual setting of `is_uploaded` property on `CogniteExtractorFileApply` objects during file upload to allow SDK to manage upload status.
21+
22+
1623
## 7.10.0
1724

1825
### Added

cognite/extractorutils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Cognite extractor utils is a Python package that simplifies the development of new extractors.
1717
"""
1818

19-
__version__ = "7.10.0"
19+
__version__ = "7.11.0"
2020
from .base import Extractor
2121

2222
__all__ = ["Extractor"]

cognite/extractorutils/uploader/files.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,6 @@ def upload_file(
520520
else:
521521
self._upload_bytes(size, file, file_meta)
522522

523-
if isinstance(file_meta, CogniteExtractorFileApply):
524-
file_meta.is_uploaded = True
525-
526523
if self.post_upload_function:
527524
try:
528525
self.post_upload_function([file_meta])

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cognite-extractor-utils"
3-
version = "7.10.0"
3+
version = "7.11.0"
44
description = "Utilities for easier development of extractors for CDF"
55
authors = [
66
{name = "Mathias Lohne", email = "mathias.lohne@cognite.com"}

0 commit comments

Comments
 (0)