Skip to content

Commit

Permalink
Minor parameters description added
Browse files Browse the repository at this point in the history
  • Loading branch information
delarosatrevin committed Mar 18, 2022
1 parent dafeffd commit 60e6737
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions emtable/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@ def iterRows(fileName, key=None, reverse=False, **kwargs):
key: key function to sort elements, it can also be an string that
will be used to retrieve the value of the column with that name.
reverse: If true reverse the sort order.
**kwargs:
tableName: can be used explicit instead of @ in the filename.
types: It can be a dictionary {columnName: columnType} pairs that
allows to specify types for certain columns in the internal reader
"""
if '@' in fileName:
tableName, fileName = fileName.split('@')
Expand Down

0 comments on commit 60e6737

Please sign in to comment.