Skip to content

Commit

Permalink
[CDF-22379] Hosted Extractors Source: Kafka and Rest (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino authored Sep 24, 2024
1 parent 6a5da4e commit ed85431
Show file tree
Hide file tree
Showing 6 changed files with 398 additions and 20 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [7.62.2] - 2024-09-23
## [7.62.3] - 2024-09-24
### Added
- [Feature Preview - alpha] Support for `Kafka` and `Rest` sources in `client.hosted_extractors.sources`.

## [7.62.2] - 2024-09-24
### Added
- [Feature Preview - alpha] Support for `client.hosted_extractors.mappings`.

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.62.2"
__version__ = "7.62.3"
__api_subversion__ = "20230101"
2 changes: 1 addition & 1 deletion cognite/client/data_classes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def __init__(self, update_object: T_CogniteUpdate, name: str) -> None:
self._update_object = update_object
self._name = name

def _set(self, value: None | str | int | bool | dict) -> T_CogniteUpdate:
def _set(self, value: None | str | int | bool | dict | list) -> T_CogniteUpdate:
if value is None:
self._update_object._set_null(self._name)
else:
Expand Down
12 changes: 12 additions & 0 deletions cognite/client/data_classes/hosted_extractors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,18 @@
EventHubSource,
EventHubSourceUpdate,
EventHubSourceWrite,
KafkaSource,
KafkaSourceUpdate,
KafkaSourceWrite,
MQTT3Source,
MQTT3SourceUpdate,
MQTT3SourceWrite,
MQTT5Source,
MQTT5SourceUpdate,
MQTT5SourceWrite,
RestSource,
RestSourceUpdate,
RestSourceWrite,
Source,
SourceList,
SourceUpdate,
Expand Down Expand Up @@ -124,4 +130,10 @@
"ProtoBufInput",
"JSONInput",
"XMLInput",
"RestSource",
"RestSourceWrite",
"RestSourceUpdate",
"KafkaSource",
"KafkaSourceWrite",
"KafkaSourceUpdate",
]
Loading

0 comments on commit ed85431

Please sign in to comment.