from_dict

classmethod DbStation.from_dict(d)

Create a station from a dictionary.

The dictionary has to be in a form returned by the as_dict method.