def batch_add(self, records_data):
        """
        Parameters
        ----------
        records_data: list of dictionaries containing records data. Keys of dictionary may be field names and/or field
            indexes

        Returns
        -------
        Queryset instance of added records
        """

        # workflow
        # --------
        # (methods belonging to create/update/delete framework:
        #     epm._dev_populate_from_json_data, table.batch_add, record.update, queryset.delete, record.delete)
        # 1. add inert
        #     * data is checked
        #     * old links are unregistered
        #     * record is stored in table (=> pk uniqueness is checked)
        # 2. activate: hooks, links, external files

        # add inert
        added_records = self._dev_add_inert(records_data)
        
        # activate hooks
        for r in added_records:
            r._dev_activate_hooks()

        # activate links and external files
        for r in added_records:
            r._dev_activate_links()
            r._dev_activate_external_files()

        return Queryset(self, records=added_records)
def batch_add(self, records_data):
        """
        Parameters
        ----------
        records_data: list of dictionaries containing records data. Keys of dictionary may be field names and/or field
            indexes

        Returns
        -------
        Queryset instance of added records
        """

        # workflow
        # --------
        # (methods belonging to create/update/delete framework:
        #     epm._dev_populate_from_json_data, table.batch_add, record.update, queryset.delete, record.delete)
        # 1. add inert
        #     * data is checked
        #     * old links are unregistered
        #     * record is stored in table (=> pk uniqueness is checked)
        # 2. activate: hooks, links, external files

        # add inert
        added_records = self._dev_add_inert(records_data)
        
        # activate hooks
        for r in added_records:
            r._dev_activate_hooks()

        # activate links and external files
        for r in added_records:
            r._dev_activate_links()
            r._dev_activate_external_files()

        return Queryset(self, records=added_records)
def batch_add ( self , records_data ) : # workflow # -------- # (methods belonging to create/update/delete framework: #     epm._dev_populate_from_json_data, table.batch_add, record.update, queryset.delete, record.delete) # 1. add inert #     * data is checked #     * old links are unregistered #     * record is stored in table (=> pk uniqueness is checked) # 2. activate: hooks, links, external files # add inert added_records = self . _dev_add_inert ( records_data ) # activate hooks for r in added_records : r . _dev_activate_hooks ( ) # activate links and external files for r in added_records : r . _dev_activate_links ( ) r . _dev_activate_external_files ( ) return Queryset ( self , records = added_records )
Parameters
        ----------
        records_data: list of dictionaries containing records data. Keys of dictionary may be field names and/or field
            indexes

        Returns
        -------
        Queryset instance of added records
Parameters ---------- records_data : list of dictionaries containing records data . Keys of dictionary may be field names and / or field indexes