From cefd05c9803caf6614a702f6746f41148eeedc42 Mon Sep 17 00:00:00 2001 From: Andy Hull Date: Thu, 12 Sep 2024 13:48:28 -0400 Subject: [PATCH 1/2] fix: deleted records handling --- .../source-shopify/source_shopify/streams/base_streams.py | 4 ++-- python | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 python diff --git a/airbyte-integrations/connectors/source-shopify/source_shopify/streams/base_streams.py b/airbyte-integrations/connectors/source-shopify/source_shopify/streams/base_streams.py index f33545e3c449..ea6c58e7fd21 100644 --- a/airbyte-integrations/connectors/source-shopify/source_shopify/streams/base_streams.py +++ b/airbyte-integrations/connectors/source-shopify/source_shopify/streams/base_streams.py @@ -148,8 +148,8 @@ def produce_deleted_records_from_events(self, delete_events: Iterable[Mapping[st "id": event["subject_id"], self.cursor_field: event["created_at"], "updated_at": event["created_at"], - "deleted_message": event["message"], - "deleted_description": event["description"], + "deleted_message": event.get("message", None), + "deleted_description": event.get("description", None), "shop_url": event["shop_url"], } diff --git a/python b/python new file mode 120000 index 000000000000..bac108717b72 --- /dev/null +++ b/python @@ -0,0 +1 @@ +/usr/local/bin/python3.10 \ No newline at end of file From 53cda2bfc52de847fd1c1be91cf2da6d2fec71af Mon Sep 17 00:00:00 2001 From: Andy Hull <48692643+andyh565@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:49:15 -0400 Subject: [PATCH 2/2] Delete python --- python | 1 - 1 file changed, 1 deletion(-) delete mode 120000 python diff --git a/python b/python deleted file mode 120000 index bac108717b72..000000000000 --- a/python +++ /dev/null @@ -1 +0,0 @@ -/usr/local/bin/python3.10 \ No newline at end of file