diff --git a/HISTORY.md b/HISTORY.md index 9ad2fbc..db0e1ae 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # Version History +## 0.10.18_preview / 2025-07-30 + +- Fixed issue using fields parameter in Events.getEvents() + ## 0.10.17_preview / 2025-04-15 - Fixed issue in Update toDictionary function diff --git a/README.md b/README.md index 30ed379..7097daf 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ | :loudspeaker: **Notice**: This library is an AVEVA Data Hub targeted version of the ocs_sample_library_preview. The ocs_sample_library_preview library is being deprecated and this library should be used moving forward. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -**Version:** 0.10.17_preview +**Version:** 0.10.18_preview [![Build Status](https://dev.azure.com/osieng/engineering/_apis/build/status/product-readiness/ADH/aveva.sample-adh-sample_libraries-python?branchName=main)](https://dev.azure.com/osieng/engineering/_build/latest?definitionId=4674&branchName=main) diff --git a/adh_sample_library_preview/Events.py b/adh_sample_library_preview/Events.py index b593c6a..719cb68 100644 --- a/adh_sample_library_preview/Events.py +++ b/adh_sample_library_preview/Events.py @@ -52,7 +52,7 @@ def getEvents( if id is not None: params['id'] = id if fields is not None: - params['count'] = count + params['fields'] = fields if filter is not None: params['filter'] = filter if order_by is not None: diff --git a/setup.py b/setup.py index 75c6680..159d10b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='adh_sample_library_preview', - version='0.10.17_preview', + version='0.10.18_preview', author='OSIsoft', license='Apache 2.0', author_email='samples@osisoft.com',