Changeset 7730 for main


Ignore:
Timestamp:
29 Feb 2012, 18:32:57 (13 years ago)
Author:
uli
Message:

Require iterables as input to exporter. This will ease things with
exporting data of certain subareas (i.e. the departments of a certain
faculty only, etc.) and we could use catalog lookups more easily.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r7726 r7730  
    210210        """
    211211
    212     def export(context, filepath=None):
    213         """Export context as CSV file.
     212    def export(iterable, filepath=None):
     213        """Export iterables as rows in a CSV file.
    214214
    215215        If `filepath` is not given, a string with the data should be returned.
     216
     217        What kind of iterables are acceptable depends on the specific
     218        exporter implementation.
    216219        """
    217220
Note: See TracChangeset for help on using the changeset viewer.