Skip to content

Commit 822b557

Browse files
authored
Merge pull request #92 from dataiku/bug/sc-294814-fix-write
fix: [sc-294814] [OSISoft plugin] Issue with write
2 parents 74fbd58 + acc3d9e commit 822b557

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## [Version 1.4.0](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.3.1) - Bugfix release - 2025-05-24
3+
## [Version 1.4.1](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.4.1) - Bugfix release - 2026-01-27
4+
5+
- Fix issue with writing
6+
7+
## [Version 1.4.0](https://github.com/dataiku/dss-plugin-pi-server/releases/tag/v1.4.0) - Bugfix release - 2025-05-24
48

59
- Add write recipe
610

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "pi-system",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"meta": {
55
"label": "PI System",
66
"description": "Retrieve data from your OSIsoft PI System servers",

python-lib/osisoft_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def write_row(self, row):
877877
The last element is a dict of columns not found in the schema
878878
"""
879879
if self.timestamp_rank is not None:
880-
timestamp = self.timestamp_convertion(row[self.timestamp_rank])
880+
timestamp = self.timestamp_conversion(row[self.timestamp_rank])
881881
else:
882882
timestamp = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S.%fZ")
883883
if not row[self.value_rank]:

python-lib/osisoft_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class OSIsoftConstants(object):
405405
"Security": "{base_url}/eventframes/{webid}/security",
406406
"SecurityEntries": "{base_url}/eventframes/{webid}/securityentries"
407407
}
408-
PLUGIN_VERSION = "1.4.0"
408+
PLUGIN_VERSION = "1.4.1"
409409
VALUE_COLUMN_SUFFIX = "_val"
410410
WEB_API_PATH = "piwebapi"
411411
WRITE_HEADERS = {'X-Requested-With': 'XmlHttpRequest'}

0 commit comments

Comments
 (0)