Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update csbs.py
  • Loading branch information
Billa32 authored Aug 16, 2021
commit fbcbb6a374ae30aa20bfc3c5a045f72a8ff90611
9 changes: 2 additions & 7 deletions app/location/csbs.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""app.locations.csbs.py"""
from . import Location
from . import LocationAdapter


class CSBSLocation(Location):
class CSBSLocation(LocationAdapter):
"""
A CSBS (county) location.
"""
Expand Down Expand Up @@ -34,10 +34,5 @@ def serialize(self, timelines=False): # pylint: disable=arguments-differ,unused
"""
serialized = super().serialize()

# Update with new fields.
serialized.update(
{"state": self.state, "county": self.county,}
)

# Return the serialized location.
return serialized