MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / Row

Class Row

Solutions/2_5/readrides.py:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 return records
43
44class Row:
45 __slots__ = ('route', 'date', 'daytype', 'rides')
46 def __init__(self, route, date, daytype, rides):
47 self.route = route
48 self.date = date
49 self.daytype = daytype
50 self.rides = rides
51
52def read_rides_as_instances(filename):
53 '''

Callers 1

read_rides_as_instancesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected