Skip to content

Commit

Permalink
add property docs
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash committed Feb 5, 2017
1 parent 552e317 commit c7b6e7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gspread/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,10 @@ def __init__(self, worksheet, element):
cell_elem = element.find(_ns1('cell'))
self._row = int(cell_elem.get('row'))
self._col = int(cell_elem.get('col'))

#: Raw value of the cell (e.g. formula)
self.input_value = cell_elem.get('inputValue')

numeric_value = cell_elem.get('numericValue')
self.numeric_value = float(numeric_value) if numeric_value else None

Expand Down

0 comments on commit c7b6e7a

Please sign in to comment.