Changeset 12861 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 17 Apr 2015, 14:43:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r12857 r12861 493 493 def close_outfile(self, filepath, outfile): 494 494 """Close outfile. 495 496 495 If filepath is None, the contents of outfile is returned. 497 496 """ … … 504 503 def get_filtered(self, site, **kw): 505 504 """Get datasets to export filtered by keyword arguments. 506 507 505 Returns an iterable. 508 506 """ … … 512 510 """Get datasets to export for selected items 513 511 specified by a list of identifiers. 514 515 512 Returns an iterable. 516 513 """ … … 519 516 def export(self, iterable, filepath=None): 520 517 """Export `iterable` as CSV file. 521 522 518 If `filepath` is ``None``, a raw string with CSV data should 523 519 be returned. … … 528 524 """Export all appropriate objects in `site` into `filepath` as 529 525 CSV data. 530 531 526 If `filepath` is ``None``, a raw string with CSV data should 532 527 be returned. … … 535 530 536 531 def export_filtered(self, site, filepath=None, **kw): 537 """Export items denoted by `args` and `kw`. 538 532 """Export items denoted by `kw`. 539 533 If `filepath` is ``None``, a raw string with CSV data should 540 534 be returned. … … 546 540 """Export those items specified by a list of identifiers 547 541 called `selected`. 548 549 542 If `filepath` is ``None``, a raw string with CSV data should 550 543 be returned.
Note: See TracChangeset for help on using the changeset viewer.