omnata-plugin-runtime 0.3.22a66__tar.gz → 0.3.22a67__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.3.22a66
3
+ Version: 0.3.22a67
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.3.22-a66"
3
+ version = "0.3.22-a67"
4
4
  description = "Classes and common runtime components for building and running Omnata Plugins"
5
5
  authors = ["James Weakley <james.weakley@omnata.com>"]
6
6
  readme = "README.md"
@@ -1197,7 +1197,7 @@ class InboundSyncRequest(SyncRequest):
1197
1197
  f"Primary key fields '{primary_key_fields}' were not present in all records for stream {stream_name}"
1198
1198
  )
1199
1199
  # concatenate the primary key fields to form the APP_IDENTIFIER
1200
- results_df["APP_IDENTIFIER"] = results_df["RECORD_DATA"].apply(lambda x: "-".join([str(field) for field in primary_key_fields]))
1200
+ results_df["APP_IDENTIFIER"] = results_df["RECORD_DATA"].apply(lambda x: "-".join([str(x[field]) for field in primary_key_fields]))
1201
1201
  else:
1202
1202
  # the primary key field could contain a nested field, so we need to check for that
1203
1203
  # we need to check that each record in the results contains the primary key field