Skip to content

Commit fb40558

Browse files
committed
add possible ValueError to Raises docstring
1 parent 092c276 commit fb40558

File tree

1 file changed

+2
-0
lines changed
  • solarforecastarbiter/io/reference_observations

1 file changed

+2
-0
lines changed

solarforecastarbiter/io/reference_observations/srml.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ def fetch(api, site, start, end):
130130
TypeError
131131
If start and end have different timezones, or if they do not include a
132132
timezone.
133+
ValueError
134+
If no data is available at the site between start and end.
133135
"""
134136
month_dfs = []
135137
start_year = start.year

0 commit comments

Comments
 (0)