Skip to content

Commit

Permalink
Remove references to REST and MQTT extensions (#431)
Browse files Browse the repository at this point in the history
* Remove references to REST and MQTT extensions

* Remove unused type ignore
  • Loading branch information
einarmo authored Feb 13, 2025
1 parent 50b07ba commit e8b1783
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ project, and then set up a poetry environment, git repository, commit hooks with
template.


### Extensions

Some source systems have a lot in common, such as RESTful APIs or systems exposing as MQTT. We therefore have extensions
to `extractor-utils` tailroed to these protocols. These can be found in separate packages:

* [REST extension](https://github.com/cognitedata/python-extractor-utils-rest)
* [MQTT extension](https://github.com/cognitedata/python-extractor-utils-mqtt)


## Contributing

The package is open source under the [Apache 2.0 license](./LICENSE), and contribtuions are welcome.
Expand Down
2 changes: 1 addition & 1 deletion cognite/extractorutils/uploader/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def default_time_series_factory(external_id: str, datapoints: DataPointList) ->
A TimeSeries object with external_id set, and the is_string automatically detected
"""
is_string = (
isinstance(datapoints[0].get("value"), str) # type: ignore # input might be dict to keep compatibility
isinstance(datapoints[0].get("value"), str)
if isinstance(datapoints[0], dict)
else isinstance(datapoints[0][1], str)
)
Expand Down

0 comments on commit e8b1783

Please sign in to comment.