(self, export_instances)
return table_names
Returns a dictionary that maps all TableConfigurations in the list of ExportInstances to a
        table name. If the table name is a duplicate from another ExportInstance, it will automatically
        prefix the table name with the export name to prevent duplicate table names.

        {
            TableConfiguration(): 'Table Name'
        }
Returns a dictionary that maps all TableConfigurations in the list of ExportInstances to a
        table name. If the table name is a duplicate from another ExportInstance, it will automatically
        prefix the table name with the export name to prevent duplicate table names.
Returns a dictionary that maps all TableConfigurations in the list of ExportInstances to a table name . If the table name is a duplicate from another ExportInstance it will automatically prefix the table name with the export name to prevent duplicate table names .
def _get_table_names(self, export_instances):
        '''
        Returns a dictionary that maps all TableConfigurations in the list of ExportInstances to a
        table name. If the table name is a duplicate from another ExportInstance, it will automatically
        prefix the table name with the export name to prevent duplicate table names.

        {
            TableConfiguration(): 'Table Name'
        }
        '''
        table_names = {}
        for instance_index, instance in enumerate(export_instances):
            for table_index, table in enumerate(instance.selected_tables):
                table_name = table.label or "Sheet{}".format(table_index + 1)
                if len(export_instances) > 1:
                    table_name = "{}-{}".format(
                        instance.name or "Export{}".format(instance_index + 1),
                        table_name
                    )
                table_names[table] = table_name
        return table_names
def _get_table_names ( self , export_instances ) : table_names = { } for instance_index , instance in enumerate ( export_instances ) : for table_index , table in enumerate ( instance . selected_tables ) : table_name = table . label or "Sheet{}" . format ( table_index + 1 ) if len ( export_instances ) > 1 : table_name = "{}-{}" . format ( instance . name or "Export{}" . format ( instance_index + 1 ) , table_name ) table_names [ table ] = table_name return table_names