summaryrefslogtreecommitdiff
path: root/waterspout_radar/_storage.py
blob: a4102597885c07fbffaf74126611144ecda7d360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import datetime
import typing

from . import _radar

Period = typing.Tuple[datetime.datetime, datetime.datetime]


class Storage:
	def __init__(self, pathname):
		pass

	def show(self, period: Period=None):
		return []

	def extend(self, predictions: typing.Iterable[_radar.Prediction]):
		for prediction in predictions:
			print(prediction)