hyriver / hyriver.github.io

A Python software stack for retrieving hydroclimate data from web services.
https://docs.hyriver.io
Other
94 stars 11 forks source link

navigate_byid() source=None (doc string issue?) #23

Closed jbousquin closed 1 year ago

jbousquin commented 1 year ago

navigate_byid() has source arg type as str but docstring describes as optional (line 1054-1056), returns TypeError when omitted and check on lines 1090-1092 seems like it may error on None as well.

None option would be in line with navigate_byloc() method and lighter, but easy fix is just updating the docstring.

cheginit commented 1 year ago

Thanks for reporting the issue. Just fixed the docstring.