Conner Panarella (SpaceCondor)
09/27/2024, 4:34 PMfor record in records:
insert_record = {column.name: record.get(column.name) for column in columns}
# No need to check for a KeyError here because the SDK already
# guarantees that all key properties exist in the record.
primary_key_value = "".join([str(record[key]) for key in primary_keys])
insert_records[primary_key_value] = insert_record
Wouldn't this potentially cause with records being erroneously thrown out? We are just concatenating the values of the primary keys to check for duplication.
So the following would be equivalent:
Record 1:
• Primary Key #1: AB
• Primary Key #2: C
Record 2:
• Primary Key #1: A
• Primary Key #2: BCEdgar Ramírez (Arch.dev)
09/27/2024, 4:54 PMvisch
09/27/2024, 4:55 PMConner Panarella (SpaceCondor)
09/27/2024, 4:55 PMConner Panarella (SpaceCondor)
09/27/2024, 4:56 PMvisch
09/27/2024, 4:56 PMConner Panarella (SpaceCondor)
09/27/2024, 4:59 PM