Skip to content

Commit fbcbb6a

Browse files
authored
Update csbs.py
1 parent 976b8d4 commit fbcbb6a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

app/location/csbs.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""app.locations.csbs.py"""
2-
from . import Location
2+
from . import LocationAdapter
33

44

5-
class CSBSLocation(Location):
5+
class CSBSLocation(LocationAdapter):
66
"""
77
A CSBS (county) location.
88
"""
@@ -34,10 +34,5 @@ def serialize(self, timelines=False): # pylint: disable=arguments-differ,unused
3434
"""
3535
serialized = super().serialize()
3636

37-
# Update with new fields.
38-
serialized.update(
39-
{"state": self.state, "county": self.county,}
40-
)
41-
4237
# Return the serialized location.
4338
return serialized

0 commit comments

Comments
 (0)