@@ -883,30 +883,33 @@ def select_records(self, records):
883883 limit_clause = self ._determine_limit_clause (total_num_records )
884884
885885 # Generate the SOQL query based on the selection strategy
886- select_query , query_fields = (
887- self .select_operation_executor .select_generate_query (
888- sobject = self .sobject ,
889- fields = self .fields ,
890- user_filter = self .selection_filter or None ,
891- limit = limit_clause ,
892- offset = None ,
893- )
886+ (
887+ select_query ,
888+ query_fields ,
889+ ) = self .select_operation_executor .select_generate_query (
890+ sobject = self .sobject ,
891+ fields = self .fields ,
892+ user_filter = self .selection_filter or None ,
893+ limit = limit_clause ,
894+ offset = None ,
894895 )
895896
896897 # Execute the query and gather the records
897898 query_records = self ._execute_soql_query (select_query , query_fields )
898899
899900 # Post-process the query results for this batch
900- selected_records , insert_records , error_message = (
901- self .select_operation_executor .select_post_process (
902- load_records = records ,
903- query_records = query_records ,
904- fields = self .fields ,
905- num_records = total_num_records ,
906- sobject = self .sobject ,
907- weights = self .weights ,
908- threshold = self .threshold ,
909- )
901+ (
902+ selected_records ,
903+ insert_records ,
904+ error_message ,
905+ ) = self .select_operation_executor .select_post_process (
906+ load_records = records ,
907+ query_records = query_records ,
908+ fields = self .fields ,
909+ num_records = total_num_records ,
910+ sobject = self .sobject ,
911+ weights = self .weights ,
912+ threshold = self .threshold ,
910913 )
911914
912915 # Log the number of selected and prepared for insertion records
0 commit comments