Add basic docs for CSV download support in master view

This commit is contained in:
Lance Edgar 2018-05-29 12:38:37 -05:00
parent d03de66b64
commit 6c0f243655
2 changed files with 11 additions and 1 deletions

View file

@ -2076,7 +2076,8 @@ class MasterView(View):
def get_csv_fields(self):
"""
Return the list of fields to be written to CSV download.
Return the list of fields to be written to CSV download. Default field
list will be constructed from the underlying table columns.
"""
fields = []
mapper = orm.class_mapper(self.model_class)